Comments (12)
Fixed with v0.9.2. I yanked v0.9.0 and v0.9.1.
from lunatic.
I also get the error on Ubuntu 18.04.6 when doing cargo install lunatic
but when I install it from a git repo (the same version/release) with cargo install --git https://github.com/lunatic-solutions/lunatic.git --tag v0.9.0
it works.
from lunatic.
hi @pinkforest im experimenting the same issue on Manjaro Linux - kernel version 5.15.55-1-MANJARO.
I will provide the details below.
The output of rustup show
:
Default host: x86_64-unknown-linux-gnu
rustup home: /home/thaodt/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu (default)
nightly-2020-10-25-x86_64-unknown-linux-gnu
nightly-2021-11-20-x86_64-unknown-linux-gnu
nightly-2021-12-13-x86_64-unknown-linux-gnu
nightly-2022-01-16-x86_64-unknown-linux-gnu
nightly-2022-01-17-x86_64-unknown-linux-gnu
nightly-2022-02-19-x86_64-unknown-linux-gnu
nightly-2022-05-01-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
1.53-x86_64-unknown-linux-gnu
1.61-x86_64-unknown-linux-gnu
1.40.0-x86_64-unknown-linux-gnu
1.48.0-x86_64-unknown-linux-gnu
1.55.0-x86_64-unknown-linux-gnu
1.56.0-x86_64-unknown-linux-gnu
1.56.1-x86_64-unknown-linux-gnu
1.57.0-x86_64-unknown-linux-gnu
1.58.1-x86_64-unknown-linux-gnu
1.60.0-x86_64-unknown-linux-gnu
1.61.0-x86_64-unknown-linux-gnu
1.62.0-x86_64-unknown-linux-gnu
installed targets for active toolchain
--------------------------------------
aarch64-apple-darwin
aarch64-apple-ios
aarch64-linux-android
armv7-linux-androideabi
i686-linux-android
wasm32-unknown-unknown
wasm32-wasi
x86_64-apple-darwin
x86_64-apple-ios
x86_64-linux-android
x86_64-unknown-linux-gnu
active toolchain
----------------
stable-x86_64-unknown-linux-gnu (default)
rustc 1.62.1 (e092d0b6b 2022-07-16)
- Output of
ld --version
:
GNU ld (GNU Binutils) 2.38
Copyright (C) 2022 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
- Output of
cc --version
:
cc (GCC) 12.1.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
from lunatic.
Yeah so current theory is that the in-monorepo deps under crates/ referred to old lockfile
@bkolobara will release 0.9.2 with all deps aligned to 0.9.2 to see if we fix this with 1.62.1 -
The current stable where everyone are atm is broken via crates.io
0.9.2 because anyone using 0.9 manifest would hit this problem with current stable so it is essential to have a working 0.9 semver
from lunatic.
Hey lovelies, I wouldn't mind dig deep into this ๐ฐ ๐ณ๏ธ .. ๐ฅ
would you all mind telling what your cc --version
, ld --version
and rustup show
and cargo --version
says ?
Cheers
from lunatic.
The crate version is essentially the .tar:
wget https://crates.io/api/v1/crates/lunatic-runtime/0.9.0/download
git version essentially is:
git clone https://github.com/lunatic-solutions/lunatic.git -b v0.9.0
Cargo.lock is pretty diferent between them... let me see
from lunatic.
Ok .. @bkolobara is going to push 0.9.1 to Crates.io with the git manifests and that should fix this in this semver so people who follow 0.9 guidance will not get this friction
from lunatic.
@thaodt can you do rustup default nightly and re-try what led to error ?
Also try rustup default 1.61.0
from lunatic.
We found out that with 1.62.1 it doesn't work from crates.io.. @bkolobara essentially pushed v0.9.0 git into crates.io as 0.9.1 ...
Now this is getting interesting ๐ฟ
from lunatic.
@bkolobara one could be that git brings all the inter-dependencies in monorepo too.. meaning that if you publish all dependency crates in crates.io you might have forgotten to publish some dependency crate ? let me dig into that.....
from lunatic.
Hmm the published deps loook fine .. this weirdly only affects 1.62.1
need to dig deeper as 0.9.1 from crates.io resolver is broken even if it's the clone of 0.9.0 git
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version hash-map-id/Cargo.toml
version = "0.9.0"
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-common-api/Cargo.toml
version = "0.9.0"
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-error-api/Cargo.toml
version = "0.9.0"
hash-map-id = { version = "^0.9", path = "../hash-map-id" }
lunatic-common-api = { version = "^0.9", path = "../lunatic-common-api" }
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-messaging-api/Cargo.toml
version = "0.9.0"
async-std = { version = "^1.0", features = ["attributes", "unstable"] }
tokio = { version = "^1.14", features = ["macros"] }
hash-map-id = { version = "^0.9", path = "../hash-map-id" }
lunatic-process = { version = "^0.9", path = "../lunatic-process" }
lunatic-common-api = { version = "^0.9", path = "../lunatic-common-api" }
lunatic-process-api = { version = "^0.9", path = "../lunatic-process-api" }
lunatic-networking-api = { version = "^0.9", path = "../lunatic-networking-api" }
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-networking-api/Cargo.toml
version = "0.9.0"
async-std = { version = "^1.0", features = ["attributes", "unstable"] }
tokio = { version = "^1.14", features = ["macros"] }
hash-map-id = { version = "^0.9", path = "../hash-map-id" }
lunatic-common-api = { version = "^0.9", path = "../lunatic-common-api" }
lunatic-error-api = { version = "^0.9", path = "../lunatic-error-api" }
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-process/Cargo.toml
version = "0.9.0"
uuid = { version = "^0.8", features = ["v4"] }
async-std = { version = "^1.0", features = ["attributes", "unstable"] }
tokio = { version = "^1.14", features = ["macros"] }
hash-map-id = { version = "^0.9", path = "../hash-map-id" }
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-process-api/Cargo.toml
version = "0.9.0"
uuid = { version = "^0.8", features = ["v4"] }
async-std = { version = "^1.0", features = ["attributes", "unstable"] }
hash-map-id = { version = "^0.9", path = "../hash-map-id" }
lunatic-stdout-capture = { version = "^0.9", path = "../lunatic-stdout-capture" }
lunatic-process = { version = "^0.9", path = "../lunatic-process" }
lunatic-common-api = { version = "^0.9", path = "../lunatic-common-api" }
lunatic-error-api = { version = "^0.9", path = "../lunatic-error-api" }
lunatic-wasi-api = { version = "^0.9", path = "../lunatic-wasi-api" }
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-registry-api/Cargo.toml
version = "0.9.0"
hash-map-id = { version = "^0.9", path = "../hash-map-id" }
lunatic-process = { version = "^0.9", path = "../lunatic-process" }
lunatic-process-api = { version = "^0.9", path = "../lunatic-process-api" }
lunatic-common-api = { version = "^0.9", path = "../lunatic-common-api" }
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-stdout-capture/Cargo.toml
version = "0.9.0"
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-version-api/Cargo.toml
name = "lunatic-version-api"
version = "0.9.0"
description = "Lunatic host functions for getting Lunatic host version"
repository = "https://github.com/lunatic-solutions/lunatic/tree/main/crates/lunatic-version-api"
foobar@foobar-MS-7C77:~/gg/lunas/lunatic-git-v0.9.0/crates$ grep version lunatic-wasi-api/Cargo.toml
version = "0.9.0"
async-std = { version = "^1.0", features = ["attributes", "unstable"] }
tokio = { version = "^1.14", features = ["macros"] }
hash-map-id = { version = "^0.9", path = "../hash-map-id" }
lunatic-common-api = { version = "^0.9", path = "../lunatic-common-api" }
lunatic-process = { version = "^0.9", path = "../lunatic-process" }
lunatic-stdout-capture = { version = "^0.9", path = "../lunatic-stdout-capture" }
from lunatic.
Okay 0.9.2 now solved this.. thanks @bkolobara - this can be closed - can you retry now @Fryuni and @withtypes ?
first:
rustup default 1.62.1
and then:
$ cargo install lunatic-runtime
Updating crates.io index
Downloaded lunatic-runtime v0.9.2
Downloaded 1 crate (45.3 KB) in 1.31s
Installing lunatic-runtime v0.9.2
..
that built fine now
from lunatic.
Related Issues (20)
- Security Model and Considerations
- Support tinygo ? HOT 1
- Spawning operating system processes HOT 4
- curious, when hot reload will be avail? HOT 1
- Add host function to check if process is alive
- Port of permission flags from deno HOT 2
- udp and tcp peer addr missing from wat HOT 2
- RUSTSEC-2020-0071: Potential segfault in the time crate HOT 1
- Improve error message when wasm module is not found
- Environment variables are not properly shared between processes HOT 1
- invalid memory reference (signal: 11) when using the new atomic registry API
- RUSTSEC-2020-0168: mach is unmaintained HOT 1
- RUSTSEC-2021-0145: Potential unaligned read HOT 2
- Serverless support HOT 2
- Compatibility with WASMEX
- Is it possible to run RustPython => Wasm on a top of Lunatic.Solutoins?
- RUSTSEC-2023-0052: webpki: CPU denial of service in certificate path building
- F# to Rust HOT 3
- Guide for compiler-developers HOT 1
- Feedback for โIntroductionโ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lunatic.