[INFO] cloning repository https://github.com/iximeow/regmap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iximeow/regmap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiximeow%2Fregmap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiximeow%2Fregmap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 901062710735f424729e4241ad5f78cb32f7d25c [INFO] checking iximeow/regmap against try#7d2afcda7a9c043d5175cbca3ab08f0acf02b13a for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiximeow%2Fregmap" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iximeow/regmap on toolchain 7d2afcda7a9c043d5175cbca3ab08f0acf02b13a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iximeow/regmap [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/iximeow/regmap [INFO] tweaked toml for git repo https://github.com/iximeow/regmap written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iximeow/regmap 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" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `regmap` library target) [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/staticlib/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `regmap` library target) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaxpeax-x86 v0.1.5 [INFO] [stderr] Downloaded libc v0.2.88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c62786c1a85ee56b0dcb7fbd218ff0c9f6f42507abb3bea1f6b52adca704a09b [INFO] running `Command { std: "docker" "start" "-a" "c62786c1a85ee56b0dcb7fbd218ff0c9f6f42507abb3bea1f6b52adca704a09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c62786c1a85ee56b0dcb7fbd218ff0c9f6f42507abb3bea1f6b52adca704a09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62786c1a85ee56b0dcb7fbd218ff0c9f6f42507abb3bea1f6b52adca704a09b", kill_on_drop: false }` [INFO] [stdout] c62786c1a85ee56b0dcb7fbd218ff0c9f6f42507abb3bea1f6b52adca704a09b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b18615686f3734a9a875a154b60410381b91e986a2692ad1216c0013e2dfd483 [INFO] running `Command { std: "docker" "start" "-a" "b18615686f3734a9a875a154b60410381b91e986a2692ad1216c0013e2dfd483", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `regmap` library target) [INFO] [stderr] warning: /opt/rustwide/workdir/staticlib/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `regmap` library target) [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling yaxpeax-x86 v0.1.5 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking yaxpeax-arch v0.0.4 [INFO] [stderr] Checking regmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regmap-static v0.1.0 (/opt/rustwide/workdir/staticlib) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> staticlib/src/staticlib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / fn panic(_panic: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 6 | | unsafe { libc::exit(125) } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [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/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-16f7e45767225805.rlib [INFO] [stdout] = note: second definition in the local crate (`regmap`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regmap-static` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/regmap.rs:841:16 [INFO] [stdout] | [INFO] [stdout] 841 | ss_sp: ALTSTACK.as_mut_ptr() as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/regmap.rs:843:18 [INFO] [stdout] | [INFO] [stdout] 843 | ss_size: ALTSTACK.len(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> staticlib/src/../../src/regmap.rs:841:16 [INFO] [stdout] | [INFO] [stdout] 841 | ss_sp: ALTSTACK.as_mut_ptr() as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> staticlib/src/../../src/regmap.rs:843:18 [INFO] [stdout] | [INFO] [stdout] 843 | ss_size: ALTSTACK.len(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/regmap.rs:841:16 [INFO] [stdout] | [INFO] [stdout] 841 | ss_sp: ALTSTACK.as_mut_ptr() as *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/regmap.rs:843:18 [INFO] [stdout] | [INFO] [stdout] 843 | ss_size: ALTSTACK.len(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b18615686f3734a9a875a154b60410381b91e986a2692ad1216c0013e2dfd483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b18615686f3734a9a875a154b60410381b91e986a2692ad1216c0013e2dfd483", kill_on_drop: false }` [INFO] [stdout] b18615686f3734a9a875a154b60410381b91e986a2692ad1216c0013e2dfd483