[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 master#4455c8937007f3cc3c078375a335d86dbab391ce for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiximeow%2Fregmap" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iximeow/regmap on toolchain 4455c8937007f3cc3c078375a335d86dbab391ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+4455c8937007f3cc3c078375a335d86dbab391ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/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] warning: /workspace/builds/worker-1-tc1/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] Downloading crates ... [INFO] [stderr] Downloaded yaxpeax-arch v0.0.4 [INFO] [stderr] Downloaded yaxpeax-x86 v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43d9b90a7f44514a3f8e5db03779b8dd3bfc6fda7098c66ed64fc592011a75f8 [INFO] running `Command { std: "docker" "start" "-a" "43d9b90a7f44514a3f8e5db03779b8dd3bfc6fda7098c66ed64fc592011a75f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43d9b90a7f44514a3f8e5db03779b8dd3bfc6fda7098c66ed64fc592011a75f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43d9b90a7f44514a3f8e5db03779b8dd3bfc6fda7098c66ed64fc592011a75f8", kill_on_drop: false }` [INFO] [stdout] 43d9b90a7f44514a3f8e5db03779b8dd3bfc6fda7098c66ed64fc592011a75f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+4455c8937007f3cc3c078375a335d86dbab391ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 066f00db7affc9a69caab8f4bd19f897e6173024f307aaaa694d6dbf3f1d403f [INFO] running `Command { std: "docker" "start" "-a" "066f00db7affc9a69caab8f4bd19f897e6173024f307aaaa694d6dbf3f1d403f", 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 libc v0.2.88 [INFO] [stderr] Compiling yaxpeax-x86 v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking yaxpeax-arch v0.0.4 [INFO] [stderr] Checking regmap-static v0.1.0 (/opt/rustwide/workdir/staticlib) [INFO] [stderr] Checking regmap v0.1.0 (/opt/rustwide/workdir) [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/4455c8937007f3cc3c078375a335d86dbab391ce/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b38d63f8b721b18d.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] --> 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] [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" "066f00db7affc9a69caab8f4bd19f897e6173024f307aaaa694d6dbf3f1d403f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066f00db7affc9a69caab8f4bd19f897e6173024f307aaaa694d6dbf3f1d403f", kill_on_drop: false }` [INFO] [stdout] 066f00db7affc9a69caab8f4bd19f897e6173024f307aaaa694d6dbf3f1d403f