[INFO] fetching crate pwasm-std 0.13.1... [INFO] testing pwasm-std-0.13.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate pwasm-std 0.13.1 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate pwasm-std 0.13.1 [INFO] finished tweaking crates.io crate pwasm-std 0.13.1 [INFO] tweaked toml for crates.io crate pwasm-std 0.13.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pwasm-std 0.13.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding fixed-hash v0.3.2 (available: v0.8.0) [INFO] [stderr] Adding tiny-keccak v1.5.0 (available: v2.0.2) [INFO] [stderr] Adding uint v0.5.0 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 511139771cebec822ab4e367e393215ff0526c5e48c6bca237c2795ab45bba54 [INFO] running `Command { std: "docker" "start" "-a" "511139771cebec822ab4e367e393215ff0526c5e48c6bca237c2795ab45bba54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "511139771cebec822ab4e367e393215ff0526c5e48c6bca237c2795ab45bba54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511139771cebec822ab4e367e393215ff0526c5e48c6bca237c2795ab45bba54", kill_on_drop: false }` [INFO] [stdout] 511139771cebec822ab4e367e393215ff0526c5e48c6bca237c2795ab45bba54 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e27aafc0be6723086cf2bf65517558a423e3e01061ea3ab02b56fae4d56dfbaa [INFO] running `Command { std: "docker" "start" "-a" "e27aafc0be6723086cf2bf65517558a423e3e01061ea3ab02b56fae4d56dfbaa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling pwasm-libc v0.2.1 [INFO] [stderr] Compiling fixed-hash v0.3.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling uint v0.5.0 [INFO] [stderr] Compiling pwasm-alloc v0.4.1 [INFO] [stderr] Compiling pwasm-std v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(link_args)] [INFO] [stdout] | ^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.53.0; see for more information [INFO] [stdout] = note: removed in favor of using `-C link-arg=ARG` on command line, which is available from cargo build scripts with `cargo:rustc-link-arg` now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/types.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / construct_fixed_hash!{ [INFO] [stdout] 8 | | /// A 160 bits (20 bytes) hash type. [INFO] [stdout] 9 | | /// [INFO] [stdout] 10 | | /// # Note [INFO] [stdout] ... | [INFO] [stdout] 13 | | pub struct H160(20); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `panic_with_msg`, `std`, `strict`, and `test` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/types.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / construct_fixed_hash!{ [INFO] [stdout] 17 | | /// A 256-bits (32 bytes) hash type. [INFO] [stdout] 18 | | pub struct H256(32); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `panic_with_msg`, `std`, `strict`, and `test` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/logger.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/panic.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub extern fn oom(_: crate::core::alloc::Layout) -> ! { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `oom` [INFO] [stdout] --> src/panic.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[lang = "oom"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ definition of unknown lang item `oom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/panic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | #[panic_handler] [INFO] [stdout] 11 | pub fn panic_fmt(_info: &crate::core::panic::PanicInfo) -> ! { [INFO] [stdout] | ------------------------------------------------------------ should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_begin_unwind` to [INFO] [stdout] = note: match `.*rust_begin_unwind.*` instead of `break rust_begin_unwind` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute cannot be used on use statements [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute cannot be used on use statements [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[no_mangle]` can be applied to functions and statics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/panic.rs:101:2 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { crate::core::intrinsics::abort() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0522, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0522`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pwasm-std` (lib) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e27aafc0be6723086cf2bf65517558a423e3e01061ea3ab02b56fae4d56dfbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27aafc0be6723086cf2bf65517558a423e3e01061ea3ab02b56fae4d56dfbaa", kill_on_drop: false }` [INFO] [stdout] e27aafc0be6723086cf2bf65517558a423e3e01061ea3ab02b56fae4d56dfbaa