[INFO] cloning repository https://github.com/yuulive/of [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuulive/of" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuulive%2Fof", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuulive%2Fof'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 205adbbd35434e47b2ca9d97afa5b39642dcc0bd [INFO] checking yuulive/of against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuulive%2Fof" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yuulive/of [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/yuulive/of [INFO] tweaked toml for git repo https://github.com/yuulive/of written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yuulive/of on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yuulive/of 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-6-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 `of` library target) [INFO] [stderr] warning: /workspace/builds/worker-6-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 `of` 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-arch v0.0.4 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4633b07e5dfc8265872d012b39e08cc06ed6a056e207f8a514f2efaa788e1e90 [INFO] running `Command { std: "docker" "start" "-a" "4633b07e5dfc8265872d012b39e08cc06ed6a056e207f8a514f2efaa788e1e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4633b07e5dfc8265872d012b39e08cc06ed6a056e207f8a514f2efaa788e1e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4633b07e5dfc8265872d012b39e08cc06ed6a056e207f8a514f2efaa788e1e90", kill_on_drop: false }` [INFO] [stdout] 4633b07e5dfc8265872d012b39e08cc06ed6a056e207f8a514f2efaa788e1e90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc1dea1f6c01f8e127d505dc8fb9e49f0abc4b69ad8b0c4938f43a26d9fb39b6 [INFO] running `Command { std: "docker" "start" "-a" "bc1dea1f6c01f8e127d505dc8fb9e49f0abc4b69ad8b0c4938f43a26d9fb39b6", 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 `of` 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 `of` library target) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling yaxpeax-x86 v0.1.5 [INFO] [stderr] Checking yaxpeax-arch v0.0.4 [INFO] [stderr] Checking of v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking of-static v0.1.0 (/opt/rustwide/workdir/staticlib) [INFO] [stderr] error: could not compile `of-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/of.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/of.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] 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/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] = note: second definition in the local crate (`of`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> staticlib/src/../../src/of.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/of.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/of.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/of.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" "bc1dea1f6c01f8e127d505dc8fb9e49f0abc4b69ad8b0c4938f43a26d9fb39b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1dea1f6c01f8e127d505dc8fb9e49f0abc4b69ad8b0c4938f43a26d9fb39b6", kill_on_drop: false }` [INFO] [stdout] bc1dea1f6c01f8e127d505dc8fb9e49f0abc4b69ad8b0c4938f43a26d9fb39b6