[INFO] fetching crate test-tube 0.7.0... [INFO] checking test-tube-0.7.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate test-tube 0.7.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate test-tube 0.7.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate test-tube 0.7.0 [INFO] finished tweaking crates.io crate test-tube 0.7.0 [INFO] tweaked toml for crates.io crate test-tube 0.7.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 249 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bech32 v0.9.1 (available: v0.11.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding bnum v0.10.0 (available: v0.12.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding cosmos-sdk-proto v0.20.0 (available: v0.25.0) [INFO] [stderr] Adding cosmrs v0.15.0 (available: v0.20.0) [INFO] [stderr] Adding cosmwasm-crypto v1.5.8 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-derive v1.5.8 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-schema v1.5.8 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-schema-derive v1.5.8 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-std v1.5.8 (available: v2.1.4) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding cw-storage-plus v1.2.0 (available: v2.0.0) [INFO] [stderr] Adding cw-utils v1.0.3 (available: v2.0.0) [INFO] [stderr] Adding cw1 v1.1.2 (available: v2.0.0) [INFO] [stderr] Adding cw1-whitelist v1.1.2 (available: v2.0.0) [INFO] [stderr] Adding cw2 v1.1.2 (available: v2.0.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ed25519-zebra v3.1.0 (available: v4.0.3) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.3) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding osmosis-std v0.25.0 (available: v0.26.0) [INFO] [stderr] Adding osmosis-std-derive v0.20.1 (available: v0.26.0) [INFO] [stderr] Adding prost v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding prost-types v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-types v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.13) [INFO] [stderr] Adding rustls-native-certs v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding serde-json-wasm v0.5.2 (available: v1.0.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding tendermint v0.34.1 (available: v0.39.1) [INFO] [stderr] Adding tendermint-config v0.34.1 (available: v0.39.1) [INFO] [stderr] Adding tendermint-proto v0.34.1 (available: v0.39.1) [INFO] [stderr] Adding tendermint-rpc v0.34.1 (available: v0.39.1) [INFO] [stderr] Adding tokio-rustls v0.24.1 (available: v0.26.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e86a4a7aedf0fc5beba0c4ae08119a3f4fe7a160dc90c143b446fa8d719b0f3 [INFO] running `Command { std: "docker" "start" "-a" "9e86a4a7aedf0fc5beba0c4ae08119a3f4fe7a160dc90c143b446fa8d719b0f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e86a4a7aedf0fc5beba0c4ae08119a3f4fe7a160dc90c143b446fa8d719b0f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e86a4a7aedf0fc5beba0c4ae08119a3f4fe7a160dc90c143b446fa8d719b0f3", kill_on_drop: false }` [INFO] [stdout] 9e86a4a7aedf0fc5beba0c4ae08119a3f4fe7a160dc90c143b446fa8d719b0f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 014be8a1e83366f35558095cda678a749bf3fdbd05eda93d6dd68447209b567f [INFO] running `Command { std: "docker" "start" "-a" "014be8a1e83366f35558095cda678a749bf3fdbd05eda93d6dd68447209b567f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking flex-error v0.4.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking bnum v0.10.0 [INFO] [stderr] Checking forward_ref v1.0.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.8 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.8 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking ed25519-consensus v2.1.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking bip32 v0.5.2 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking serde-json-wasm v0.5.2 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking cosmwasm-crypto v1.5.8 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking cosmwasm-std v1.5.8 [INFO] [stderr] Checking cosmwasm-schema v1.5.8 [INFO] [stderr] Checking tendermint-proto v0.34.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking cw-storage-plus v1.2.0 [INFO] [stderr] Checking cw1 v1.1.2 [INFO] [stderr] Checking cw2 v1.1.2 [INFO] [stderr] Checking cw-utils v1.0.3 [INFO] [stderr] Checking cw1-whitelist v1.1.2 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking tendermint v0.34.1 [INFO] [stderr] Checking cosmos-sdk-proto v0.20.0 [INFO] [stderr] Checking tendermint-config v0.34.1 [INFO] [stderr] Checking tendermint-rpc v0.34.1 [INFO] [stderr] Checking cosmrs v0.15.0 [INFO] [stderr] Checking test-tube v0.7.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `test_tube` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/module/macros.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/module/macros.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | (pub $name:ident: $req:ty[$type_url:expr_2021] => $res:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/module/macros.rs:21:27 [INFO] [stderr] | [INFO] [stderr] 21 | ($name:ident: $req:ty[$type_url:expr_2021] => $res:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/module/macros.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | (pub $name:ident [$path:expr_2021]: $req:ty => $res:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/module/macros.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 48 | ($name:ident [$path:expr_2021]: $req:ty => $res:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 212 | | pub fn InitTestEnv() -> GoUint64; [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 215 | | pub fn InitAccount(envId: GoUint64, coinsJson: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 218 | | pub fn BeginBlock(envId: GoUint64); [INFO] [stdout] 219 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 221 | | pub fn EndBlock(envId: GoUint64); [INFO] [stdout] 222 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 224 | | pub fn WasmSudo( [INFO] [stdout] 225 | | envId: GoUint64, [INFO] [stdout] 226 | | bech32Address: GoString, [INFO] [stdout] 227 | | msgJson: GoString, [INFO] [stdout] 228 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 229 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 231 | | pub fn IncreaseTime(envId: GoUint64, seconds: GoInt64); [INFO] [stdout] 232 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 234 | | pub fn Execute(envId: GoUint64, base64ReqDeliverTx: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 235 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 237 | | pub fn Query( [INFO] [stdout] 238 | | envId: GoUint64, [INFO] [stdout] 239 | | path: GoString, [INFO] [stdout] 240 | | base64QueryMsgBytes: GoString, [INFO] [stdout] 241 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 242 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 244 | | pub fn AccountSequence(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 245 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 247 | | pub fn AccountNumber(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 248 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 250 | | pub fn Simulate(envId: GoUint64, base64TxBytes: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 253 | | pub fn SetParamSet( [INFO] [stdout] 254 | | envId: GoUint64, [INFO] [stdout] 255 | | subspaceName: GoString, [INFO] [stdout] 256 | | base64ParamSetBytes: GoString, [INFO] [stdout] 257 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 258 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 260 | | pub fn GetParamSet( [INFO] [stdout] 261 | | envId: GoUint64, [INFO] [stdout] 262 | | subspaceName: GoString, [INFO] [stdout] 263 | | typeUrl: GoString, [INFO] [stdout] 264 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 267 | | pub fn GetValidatorAddress(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 270 | | pub fn GetValidatorPrivateKey(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 273 | | pub fn GetBlockTime(envId: GoUint64) -> GoInt64; [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 276 | | pub fn GetBlockHeight(envId: GoUint64) -> GoInt64; [INFO] [stdout] 277 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 280 | | pub fn CleanUp(envId: GoUint64); [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/module/macros.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | (pub $name:ident: $req:ty[$type_url:expr] => $res:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | (pub $name:ident: $req:ty[$type_url:expr_2021] => $res:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/module/macros.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | ($name:ident: $req:ty[$type_url:expr] => $res:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($name:ident: $req:ty[$type_url:expr_2021] => $res:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/module/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | (pub $name:ident [$path:expr]: $req:ty => $res:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | (pub $name:ident [$path:expr_2021]: $req:ty => $res:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/module/macros.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | ($name:ident [$path:expr]: $req:ty => $res:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 48 | ($name:ident [$path:expr_2021]: $req:ty => $res:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `runner::result::RawResult::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/runner/result.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | Self::from_ptr(ptr).expect("Must ensure that the pointer is not null") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/runner/result.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub unsafe fn from_non_null_ptr(ptr: *mut std::os::raw::c_char) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `test_tube` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/module/macros.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/module/macros.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | (pub $name:ident: $req:ty[$type_url:expr_2021] => $res:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/module/macros.rs:21:27 [INFO] [stderr] | [INFO] [stderr] 21 | ($name:ident: $req:ty[$type_url:expr_2021] => $res:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 212 | | pub fn InitTestEnv() -> GoUint64; [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 215 | | pub fn InitAccount(envId: GoUint64, coinsJson: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 218 | | pub fn BeginBlock(envId: GoUint64); [INFO] [stdout] 219 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 221 | | pub fn EndBlock(envId: GoUint64); [INFO] [stdout] 222 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 224 | | pub fn WasmSudo( [INFO] [stdout] 225 | | envId: GoUint64, [INFO] [stdout] 226 | | bech32Address: GoString, [INFO] [stdout] 227 | | msgJson: GoString, [INFO] [stdout] 228 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 229 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/module/macros.rs:43:23 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 231 | | pub fn IncreaseTime(envId: GoUint64, seconds: GoInt64); [INFO] [stdout] 232 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 234 | | pub fn Execute(envId: GoUint64, base64ReqDeliverTx: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 235 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 43 | (pub $name:ident [$path:expr_2021]: $req:ty => $res:ty) => { [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 237 | | pub fn Query( [INFO] [stdout] 238 | | envId: GoUint64, [INFO] [stdout] 239 | | path: GoString, [INFO] [stdout] 240 | | base64QueryMsgBytes: GoString, [INFO] [stdout] 241 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 242 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 244 | | pub fn AccountSequence(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 245 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/module/macros.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 48 | ($name:ident [$path:expr_2021]: $req:ty => $res:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 247 | | pub fn AccountNumber(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 248 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.20s [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 250 | | pub fn Simulate(envId: GoUint64, base64TxBytes: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 253 | | pub fn SetParamSet( [INFO] [stdout] 254 | | envId: GoUint64, [INFO] [stdout] 255 | | subspaceName: GoString, [INFO] [stdout] 256 | | base64ParamSetBytes: GoString, [INFO] [stdout] 257 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 258 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 260 | | pub fn GetParamSet( [INFO] [stdout] 261 | | envId: GoUint64, [INFO] [stdout] 262 | | subspaceName: GoString, [INFO] [stdout] 263 | | typeUrl: GoString, [INFO] [stdout] 264 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 267 | | pub fn GetValidatorAddress(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 270 | | pub fn GetValidatorPrivateKey(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 273 | | pub fn GetBlockTime(envId: GoUint64) -> GoInt64; [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 276 | | pub fn GetBlockHeight(envId: GoUint64) -> GoInt64; [INFO] [stdout] 277 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bindings.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 280 | | pub fn CleanUp(envId: GoUint64); [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/module/macros.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | (pub $name:ident: $req:ty[$type_url:expr] => $res:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | (pub $name:ident: $req:ty[$type_url:expr_2021] => $res:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/module/macros.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | ($name:ident: $req:ty[$type_url:expr] => $res:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($name:ident: $req:ty[$type_url:expr_2021] => $res:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/module/macros.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | (pub $name:ident [$path:expr]: $req:ty => $res:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | (pub $name:ident [$path:expr_2021]: $req:ty => $res:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/module/macros.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | ($name:ident [$path:expr]: $req:ty => $res:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 48 | ($name:ident [$path:expr_2021]: $req:ty => $res:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `runner::result::RawResult::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/runner/result.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | Self::from_ptr(ptr).expect("Must ensure that the pointer is not null") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/runner/result.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub unsafe fn from_non_null_ptr(ptr: *mut std::os::raw::c_char) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking test-tube v0.7.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | / extern "C" { [INFO] [stdout] 212 | | pub fn InitTestEnv() -> GoUint64; [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | / extern "C" { [INFO] [stdout] 215 | | pub fn InitAccount(envId: GoUint64, coinsJson: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | / extern "C" { [INFO] [stdout] 218 | | pub fn BeginBlock(envId: GoUint64); [INFO] [stdout] 219 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / extern "C" { [INFO] [stdout] 221 | | pub fn EndBlock(envId: GoUint64); [INFO] [stdout] 222 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | / extern "C" { [INFO] [stdout] 224 | | pub fn WasmSudo( [INFO] [stdout] 225 | | envId: GoUint64, [INFO] [stdout] 226 | | bech32Address: GoString, [INFO] [stdout] 227 | | msgJson: GoString, [INFO] [stdout] 228 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 229 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | / extern "C" { [INFO] [stdout] 231 | | pub fn IncreaseTime(envId: GoUint64, seconds: GoInt64); [INFO] [stdout] 232 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / extern "C" { [INFO] [stdout] 234 | | pub fn Execute(envId: GoUint64, base64ReqDeliverTx: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 235 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / extern "C" { [INFO] [stdout] 237 | | pub fn Query( [INFO] [stdout] 238 | | envId: GoUint64, [INFO] [stdout] 239 | | path: GoString, [INFO] [stdout] 240 | | base64QueryMsgBytes: GoString, [INFO] [stdout] 241 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 242 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | / extern "C" { [INFO] [stdout] 244 | | pub fn AccountSequence(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 245 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | / extern "C" { [INFO] [stdout] 247 | | pub fn AccountNumber(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 248 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | / extern "C" { [INFO] [stdout] 250 | | pub fn Simulate(envId: GoUint64, base64TxBytes: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / extern "C" { [INFO] [stdout] 253 | | pub fn SetParamSet( [INFO] [stdout] 254 | | envId: GoUint64, [INFO] [stdout] 255 | | subspaceName: GoString, [INFO] [stdout] 256 | | base64ParamSetBytes: GoString, [INFO] [stdout] 257 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 258 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | / extern "C" { [INFO] [stdout] 260 | | pub fn GetParamSet( [INFO] [stdout] 261 | | envId: GoUint64, [INFO] [stdout] 262 | | subspaceName: GoString, [INFO] [stdout] 263 | | typeUrl: GoString, [INFO] [stdout] 264 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / extern "C" { [INFO] [stdout] 267 | | pub fn GetValidatorAddress(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / extern "C" { [INFO] [stdout] 270 | | pub fn GetValidatorPrivateKey(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / extern "C" { [INFO] [stdout] 273 | | pub fn GetBlockTime(envId: GoUint64) -> GoInt64; [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | / extern "C" { [INFO] [stdout] 276 | | pub fn GetBlockHeight(envId: GoUint64) -> GoInt64; [INFO] [stdout] 277 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | / extern "C" { [INFO] [stdout] 280 | | pub fn CleanUp(envId: GoUint64); [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | / extern "C" { [INFO] [stdout] 212 | | pub fn InitTestEnv() -> GoUint64; [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | / extern "C" { [INFO] [stdout] 215 | | pub fn InitAccount(envId: GoUint64, coinsJson: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 216 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | / extern "C" { [INFO] [stdout] 218 | | pub fn BeginBlock(envId: GoUint64); [INFO] [stdout] 219 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / extern "C" { [INFO] [stdout] 221 | | pub fn EndBlock(envId: GoUint64); [INFO] [stdout] 222 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | / extern "C" { [INFO] [stdout] 224 | | pub fn WasmSudo( [INFO] [stdout] 225 | | envId: GoUint64, [INFO] [stdout] 226 | | bech32Address: GoString, [INFO] [stdout] 227 | | msgJson: GoString, [INFO] [stdout] 228 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 229 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | / extern "C" { [INFO] [stdout] 231 | | pub fn IncreaseTime(envId: GoUint64, seconds: GoInt64); [INFO] [stdout] 232 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / extern "C" { [INFO] [stdout] 234 | | pub fn Execute(envId: GoUint64, base64ReqDeliverTx: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 235 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / extern "C" { [INFO] [stdout] 237 | | pub fn Query( [INFO] [stdout] 238 | | envId: GoUint64, [INFO] [stdout] 239 | | path: GoString, [INFO] [stdout] 240 | | base64QueryMsgBytes: GoString, [INFO] [stdout] 241 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 242 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | / extern "C" { [INFO] [stdout] 244 | | pub fn AccountSequence(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 245 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | / extern "C" { [INFO] [stdout] 247 | | pub fn AccountNumber(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 248 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | / extern "C" { [INFO] [stdout] 250 | | pub fn Simulate(envId: GoUint64, base64TxBytes: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / extern "C" { [INFO] [stdout] 253 | | pub fn SetParamSet( [INFO] [stdout] 254 | | envId: GoUint64, [INFO] [stdout] 255 | | subspaceName: GoString, [INFO] [stdout] 256 | | base64ParamSetBytes: GoString, [INFO] [stdout] 257 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 258 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | / extern "C" { [INFO] [stdout] 260 | | pub fn GetParamSet( [INFO] [stdout] 261 | | envId: GoUint64, [INFO] [stdout] 262 | | subspaceName: GoString, [INFO] [stdout] 263 | | typeUrl: GoString, [INFO] [stdout] 264 | | ) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / extern "C" { [INFO] [stdout] 267 | | pub fn GetValidatorAddress(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / extern "C" { [INFO] [stdout] 270 | | pub fn GetValidatorPrivateKey(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / extern "C" { [INFO] [stdout] 273 | | pub fn GetBlockTime(envId: GoUint64) -> GoInt64; [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | / extern "C" { [INFO] [stdout] 276 | | pub fn GetBlockHeight(envId: GoUint64) -> GoInt64; [INFO] [stdout] 277 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | / extern "C" { [INFO] [stdout] 280 | | pub fn CleanUp(envId: GoUint64); [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `runner::result::RawResult::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/runner/result.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | Self::from_ptr(ptr).expect("Must ensure that the pointer is not null") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/runner/result.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub unsafe fn from_non_null_ptr(ptr: *mut std::os::raw::c_char) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `runner::result::RawResult::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/runner/result.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | Self::from_ptr(ptr).expect("Must ensure that the pointer is not null") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/runner/result.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub unsafe fn from_non_null_ptr(ptr: *mut std::os::raw::c_char) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-tube` (lib) due to 19 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test-tube` (lib test) due to 19 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "014be8a1e83366f35558095cda678a749bf3fdbd05eda93d6dd68447209b567f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "014be8a1e83366f35558095cda678a749bf3fdbd05eda93d6dd68447209b567f", kill_on_drop: false }` [INFO] [stdout] 014be8a1e83366f35558095cda678a749bf3fdbd05eda93d6dd68447209b567f