[INFO] fetching crate classic-core-test-tube 0.2.0... [INFO] checking classic-core-test-tube-0.2.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate classic-core-test-tube 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate classic-core-test-tube 0.2.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 classic-core-test-tube 0.2.0 [INFO] finished tweaking crates.io crate classic-core-test-tube 0.2.0 [INFO] tweaked toml for crates.io crate classic-core-test-tube 0.2.0 written to /workspace/builds/worker-4-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 244 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding base16ct v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [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 bip32 v0.4.0 (available: v0.5.2) [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 bs58 v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding cosmos-sdk-proto v0.14.0 (available: v0.25.0) [INFO] [stderr] Adding cosmrs v0.9.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 crypto-bigint v0.4.9 (available: v0.5.5) [INFO] [stderr] Adding ct-logs v0.8.0 (available: v0.9.0) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding cw-storage-plus v0.15.1 (available: v2.0.0) [INFO] [stderr] Adding cw-utils v0.15.1 (available: v2.0.0) [INFO] [stderr] Adding cw1 v0.15.1 (available: v2.0.0) [INFO] [stderr] Adding cw1-whitelist v0.15.1 (available: v2.0.0) [INFO] [stderr] Adding cw2 v0.15.1 (available: v2.0.0) [INFO] [stderr] Adding der v0.6.1 (available: v0.7.9) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ecdsa v0.14.8 (available: v0.16.9) [INFO] [stderr] Adding ed25519 v1.5.3 (available: v2.2.3) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.1.1) [INFO] [stderr] Adding ed25519-zebra v3.1.0 (available: v4.0.3) [INFO] [stderr] Adding elliptic-curve v0.12.3 (available: v0.13.8) [INFO] [stderr] Adding ff v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding group v0.12.1 (available: v0.13.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 headers v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding headers-core v0.2.0 (available: v0.3.0) [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.22.1 (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 k256 v0.11.6 (available: v0.13.4) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding osmosis-std-derive v0.20.1 (available: v0.26.0) [INFO] [stderr] Adding pbkdf2 v0.11.0 (available: v0.12.2) [INFO] [stderr] Adding peg v0.7.0 (available: v0.8.4) [INFO] [stderr] Adding peg-macros v0.7.0 (available: v0.8.4) [INFO] [stderr] Adding peg-runtime v0.7.0 (available: v0.8.3) [INFO] [stderr] Adding pkcs8 v0.9.0 (available: v0.10.2) [INFO] [stderr] Adding prost v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding prost-types v0.11.9 (available: v0.13.3) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rfc6979 v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding ripemd160 v0.9.1 (available: v0.10.0) [INFO] [stderr] Adding rustls v0.19.1 (available: v0.23.13) [INFO] [stderr] Adding rustls-native-certs v0.5.0 (available: v0.8.0) [INFO] [stderr] Adding sct v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding sec1 v0.3.0 (available: v0.7.3) [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 signature v1.6.4 (available: v2.2.0) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding spki v0.6.0 (available: v0.7.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding tendermint v0.23.9 (available: v0.39.1) [INFO] [stderr] Adding tendermint-config v0.23.9 (available: v0.39.1) [INFO] [stderr] Adding tendermint-proto v0.23.9 (available: v0.39.1) [INFO] [stderr] Adding tendermint-rpc v0.23.9 (available: v0.39.1) [INFO] [stderr] Adding time v0.3.11 (available: v0.3.36) [INFO] [stderr] Adding time-macros v0.2.4 (available: v0.2.18) [INFO] [stderr] Adding tokio-rustls v0.22.0 (available: v0.26.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki v0.21.4 (available: v0.22.4) [INFO] [stderr] Adding webpki-roots v0.21.1 (available: v0.26.6) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6affd85fd71fe146d8a0e6c18eb9af924fdddd4d59d3317b4440649b1e191683 [INFO] running `Command { std: "docker" "start" "-a" "6affd85fd71fe146d8a0e6c18eb9af924fdddd4d59d3317b4440649b1e191683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6affd85fd71fe146d8a0e6c18eb9af924fdddd4d59d3317b4440649b1e191683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6affd85fd71fe146d8a0e6c18eb9af924fdddd4d59d3317b4440649b1e191683", kill_on_drop: false }` [INFO] [stdout] 6affd85fd71fe146d8a0e6c18eb9af924fdddd4d59d3317b4440649b1e191683 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5ee98547a602d867c62e8b2a38dc9904277c3e57fe2df295239c7582802faa95 [INFO] running `Command { std: "docker" "start" "-a" "5ee98547a602d867c62e8b2a38dc9904277c3e57fe2df295239c7582802faa95", 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] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bnum v0.10.0 [INFO] [stderr] Checking forward_ref v1.0.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking flex-error v0.4.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking peg v0.7.0 [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 futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.8 [INFO] [stderr] Checking prost-types v0.11.9 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking k256 v0.11.6 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.8 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking ripemd v0.1.3 [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 toml v0.5.11 [INFO] [stderr] Checking cosmwasm-crypto v1.5.8 [INFO] [stderr] Checking tendermint-proto v0.23.9 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking serde-cw-value v0.7.0 [INFO] [stderr] Checking bip32 v0.4.0 [INFO] [stderr] Compiling osmosis-std-derive v0.20.1 [INFO] [stderr] Checking cosmwasm-std v1.5.8 [INFO] [stderr] Checking cosmwasm-schema v1.5.8 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking tendermint v0.23.9 [INFO] [stderr] Checking cosmos-sdk-proto v0.14.0 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyper-proxy v0.9.1 [INFO] [stderr] Checking tendermint-config v0.23.9 [INFO] [stderr] Checking cw-storage-plus v0.15.1 [INFO] [stderr] Checking classic-rust v0.2.0 [INFO] [stderr] Checking cw1 v0.15.1 [INFO] [stderr] Checking tendermint-rpc v0.23.9 [INFO] [stderr] Checking cw2 v0.15.1 [INFO] [stderr] Checking cw-utils v0.15.1 [INFO] [stderr] Checking cw1-whitelist v0.15.1 [INFO] [stderr] Checking cosmrs v0.9.0 [INFO] [stderr] Checking classic-core-test-tube v0.2.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 `classic_core_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 IncreaseTime(envId: GoUint64, seconds: GoInt64); [INFO] [stdout] 225 | | } [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:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 227 | | pub fn Execute(envId: GoUint64, base64ReqDeliverTx: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 228 | | } [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:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 230 | | pub fn Query( [INFO] [stdout] 231 | | envId: GoUint64, [INFO] [stdout] 232 | | path: GoString, [INFO] [stdout] 233 | | base64QueryMsgBytes: GoString, [INFO] [stdout] 234 | | ) -> *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 AccountSequence(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 238 | | } [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:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 240 | | pub fn AccountNumber(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 241 | | } [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:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 243 | | pub fn Simulate(envId: GoUint64, base64TxBytes: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 244 | | } [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:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 246 | | pub fn SetParamSet( [INFO] [stdout] 247 | | envId: GoUint64, [INFO] [stdout] 248 | | subspaceName: GoString, [INFO] [stdout] 249 | | base64ParamSetBytes: GoString, [INFO] [stdout] 250 | | ) -> *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 GetParamSet( [INFO] [stdout] 254 | | envId: GoUint64, [INFO] [stdout] 255 | | subspaceName: GoString, [INFO] [stdout] 256 | | typeUrl: 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 GetValidatorAddress(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 261 | | } [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:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 263 | | pub fn GetValidatorPrivateKey(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 264 | | } [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:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 266 | | pub fn GetBlockTime(envId: GoUint64) -> GoInt64; [INFO] [stdout] 267 | | } [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:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 269 | | pub fn GetBlockHeight(envId: GoUint64) -> GoInt64; [INFO] [stdout] 270 | | } [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 CleanUp(envId: GoUint64); [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: 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:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | 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:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | 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: 22 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 `classic_core_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 IncreaseTime(envId: GoUint64, seconds: GoInt64); [INFO] [stdout] 225 | | } [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:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 227 | | pub fn Execute(envId: GoUint64, base64ReqDeliverTx: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 228 | | } [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:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 230 | | pub fn Query( [INFO] [stdout] 231 | | envId: GoUint64, [INFO] [stdout] 232 | | path: GoString, [INFO] [stdout] 233 | | base64QueryMsgBytes: GoString, [INFO] [stdout] 234 | | ) -> *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 AccountSequence(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 238 | | } [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:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 240 | | pub fn AccountNumber(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 241 | | } [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:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 243 | | pub fn Simulate(envId: GoUint64, base64TxBytes: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 244 | | } [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:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 246 | | pub fn SetParamSet( [INFO] [stdout] 247 | | envId: GoUint64, [INFO] [stdout] 248 | | subspaceName: GoString, [INFO] [stdout] 249 | | base64ParamSetBytes: GoString, [INFO] [stdout] 250 | | ) -> *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 GetParamSet( [INFO] [stdout] 254 | | envId: GoUint64, [INFO] [stdout] 255 | | subspaceName: GoString, [INFO] [stdout] 256 | | typeUrl: 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 GetValidatorAddress(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 261 | | } [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:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 263 | | pub fn GetValidatorPrivateKey(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 264 | | } [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:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 266 | | pub fn GetBlockTime(envId: GoUint64) -> GoInt64; [INFO] [stdout] 267 | | } [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:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 269 | | pub fn GetBlockHeight(envId: GoUint64) -> GoInt64; [INFO] [stdout] 270 | | } [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 CleanUp(envId: GoUint64); [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: 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:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | 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:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | 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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.43s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking classic-core-test-tube v0.2.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 IncreaseTime(envId: GoUint64, seconds: GoInt64); [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | / extern "C" { [INFO] [stdout] 227 | | pub fn Execute(envId: GoUint64, base64ReqDeliverTx: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | / extern "C" { [INFO] [stdout] 230 | | pub fn Query( [INFO] [stdout] 231 | | envId: GoUint64, [INFO] [stdout] 232 | | path: GoString, [INFO] [stdout] 233 | | base64QueryMsgBytes: GoString, [INFO] [stdout] 234 | | ) -> *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 AccountSequence(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 238 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | / extern "C" { [INFO] [stdout] 240 | | pub fn AccountNumber(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 241 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | / extern "C" { [INFO] [stdout] 243 | | pub fn Simulate(envId: GoUint64, base64TxBytes: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 244 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | / extern "C" { [INFO] [stdout] 246 | | pub fn SetParamSet( [INFO] [stdout] 247 | | envId: GoUint64, [INFO] [stdout] 248 | | subspaceName: GoString, [INFO] [stdout] 249 | | base64ParamSetBytes: GoString, [INFO] [stdout] 250 | | ) -> *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 GetParamSet( [INFO] [stdout] 254 | | envId: GoUint64, [INFO] [stdout] 255 | | subspaceName: GoString, [INFO] [stdout] 256 | | typeUrl: 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 GetValidatorAddress(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 261 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / extern "C" { [INFO] [stdout] 263 | | pub fn GetValidatorPrivateKey(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 264 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | / extern "C" { [INFO] [stdout] 266 | | pub fn GetBlockTime(envId: GoUint64) -> GoInt64; [INFO] [stdout] 267 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / extern "C" { [INFO] [stdout] 269 | | pub fn GetBlockHeight(envId: GoUint64) -> GoInt64; [INFO] [stdout] 270 | | } [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 CleanUp(envId: GoUint64); [INFO] [stdout] 274 | | } [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 IncreaseTime(envId: GoUint64, seconds: GoInt64); [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | / extern "C" { [INFO] [stdout] 227 | | pub fn Execute(envId: GoUint64, base64ReqDeliverTx: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | / extern "C" { [INFO] [stdout] 230 | | pub fn Query( [INFO] [stdout] 231 | | envId: GoUint64, [INFO] [stdout] 232 | | path: GoString, [INFO] [stdout] 233 | | base64QueryMsgBytes: GoString, [INFO] [stdout] 234 | | ) -> *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 AccountSequence(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 238 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 239 | / extern "C" { [INFO] [stdout] 240 | | pub fn AccountNumber(envId: GoUint64, bech32Address: GoString) -> GoUint64; [INFO] [stdout] 241 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | / extern "C" { [INFO] [stdout] 243 | | pub fn Simulate(envId: GoUint64, base64TxBytes: GoString) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 244 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | / extern "C" { [INFO] [stdout] 246 | | pub fn SetParamSet( [INFO] [stdout] 247 | | envId: GoUint64, [INFO] [stdout] 248 | | subspaceName: GoString, [INFO] [stdout] 249 | | base64ParamSetBytes: GoString, [INFO] [stdout] 250 | | ) -> *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 GetParamSet( [INFO] [stdout] 254 | | envId: GoUint64, [INFO] [stdout] 255 | | subspaceName: GoString, [INFO] [stdout] 256 | | typeUrl: 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 GetValidatorAddress(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 261 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / extern "C" { [INFO] [stdout] 263 | | pub fn GetValidatorPrivateKey(envId: GoUint64, n: GoInt32) -> *mut ::std::os::raw::c_char; [INFO] [stdout] 264 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | / extern "C" { [INFO] [stdout] 266 | | pub fn GetBlockTime(envId: GoUint64) -> GoInt64; [INFO] [stdout] 267 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/bindings.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / extern "C" { [INFO] [stdout] 269 | | pub fn GetBlockHeight(envId: GoUint64) -> GoInt64; [INFO] [stdout] 270 | | } [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 CleanUp(envId: GoUint64); [INFO] [stdout] 274 | | } [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:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | 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:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | 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 17 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:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | 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:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | 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 `classic-core-test-tube` (lib) due to 18 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 17 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 `classic-core-test-tube` (lib test) due to 18 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" "5ee98547a602d867c62e8b2a38dc9904277c3e57fe2df295239c7582802faa95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee98547a602d867c62e8b2a38dc9904277c3e57fe2df295239c7582802faa95", kill_on_drop: false }` [INFO] [stdout] 5ee98547a602d867c62e8b2a38dc9904277c3e57fe2df295239c7582802faa95