[INFO] cloning repository https://github.com/analog-hors/glowfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/analog-hors/glowfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanalog-hors%2Fglowfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanalog-hors%2Fglowfish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9df7736a8769ba7da61e8859756134464bcdbec4 [INFO] checking analog-hors/glowfish/9df7736a8769ba7da61e8859756134464bcdbec4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanalog-hors%2Fglowfish" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/analog-hors/glowfish on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/analog-hors/glowfish [INFO] finished tweaking git repo https://github.com/analog-hors/glowfish [INFO] tweaked toml for git repo https://github.com/analog-hors/glowfish written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/analog-hors/glowfish already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded heapless v0.7.10 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded atomic-polyfill v0.1.8 [INFO] [stderr] Downloaded cortex-m v0.7.4 [INFO] [stderr] Downloaded libc v0.2.122 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3077820a8bb0700bdc7bf6f492cd7d84936136555ee4c155a82f982cdbb37f8f [INFO] running `Command { std: "docker" "start" "-a" "3077820a8bb0700bdc7bf6f492cd7d84936136555ee4c155a82f982cdbb37f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3077820a8bb0700bdc7bf6f492cd7d84936136555ee4c155a82f982cdbb37f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3077820a8bb0700bdc7bf6f492cd7d84936136555ee4c155a82f982cdbb37f8f", kill_on_drop: false }` [INFO] [stdout] 3077820a8bb0700bdc7bf6f492cd7d84936136555ee4c155a82f982cdbb37f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e27eeec2522b43d97962a9070ceae490869d28d73b26f2eae70b5bdb40cb454e [INFO] running `Command { std: "docker" "start" "-a" "e27eeec2522b43d97962a9070ceae490869d28d73b26f2eae70b5bdb40cb454e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking cozy-chess-types v0.1.4 (/opt/rustwide/workdir/types) [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking cozy-chess v0.2.2 (/opt/rustwide/workdir/cozy-chess) [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling glowfish v0.1.0 (/opt/rustwide/workdir/glowfish) [INFO] [stderr] Checking regex v1.5.5 [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasm32` in `arch` [INFO] [stdout] --> glowfish/src/wasm4/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | core::arch::wasm32::unreachable() [INFO] [stdout] | ^^^^^^ could not find `wasm32` in `arch` [INFO] [stdout] | [INFO] [stdout] ::: glowfish/src/lib.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | wasm4_main!(Glowfish); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wasm4_main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasm32` in `arch` [INFO] [stdout] --> glowfish/src/wasm4/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | core::arch::wasm32::unreachable() [INFO] [stdout] | ^^^^^^ could not find `wasm32` in `arch` [INFO] [stdout] | [INFO] [stdout] ::: glowfish/src/lib.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | wasm4_main!(Glowfish); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wasm4_main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> glowfish/src/wasm4/mod.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | / fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 143 | | core::arch::wasm32::unreachable() [INFO] [stdout] 144 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: glowfish/src/lib.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | wasm4_main!(Glowfish); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`glowfish`) [INFO] [stdout] = note: this error originates in the macro `wasm4_main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glowfish` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> glowfish/src/wasm4/mod.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | let ctx = &mut WASM_4; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: glowfish/src/lib.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | wasm4_main!(Glowfish); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `wasm4_main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 148 | let ctx = addr_of_mut!(WASM_4); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glowfish` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e27eeec2522b43d97962a9070ceae490869d28d73b26f2eae70b5bdb40cb454e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27eeec2522b43d97962a9070ceae490869d28d73b26f2eae70b5bdb40cb454e", kill_on_drop: false }` [INFO] [stdout] e27eeec2522b43d97962a9070ceae490869d28d73b26f2eae70b5bdb40cb454e