[INFO] cloning repository https://github.com/McCzarny/rust-preloader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/McCzarny/rust-preloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcCzarny%2Frust-preloader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcCzarny%2Frust-preloader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9feff832804de85ea66a02d7ae675e6f2be7ab78 [INFO] checking McCzarny/rust-preloader against try#b2fb67b8b6007ced9ad3f3b752a6fec899e7859c for pr-138915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcCzarny%2Frust-preloader" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/McCzarny/rust-preloader on toolchain b2fb67b8b6007ced9ad3f3b752a6fec899e7859c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/McCzarny/rust-preloader [INFO] finished tweaking git repo https://github.com/McCzarny/rust-preloader [INFO] tweaked toml for git repo https://github.com/McCzarny/rust-preloader written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/McCzarny/rust-preloader 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" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3b67a743f220036e8a940970e2ed3459a94529b70739791afe890120a72998b [INFO] running `Command { std: "docker" "start" "-a" "b3b67a743f220036e8a940970e2ed3459a94529b70739791afe890120a72998b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b67a743f220036e8a940970e2ed3459a94529b70739791afe890120a72998b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b67a743f220036e8a940970e2ed3459a94529b70739791afe890120a72998b", kill_on_drop: false }` [INFO] [stdout] b3b67a743f220036e8a940970e2ed3459a94529b70739791afe890120a72998b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb159ea5bc46ead5b2209520768eb6b7e069f5b9e4fbf57dcd24903afd6d4ac6 [INFO] running `Command { std: "docker" "start" "-a" "cb159ea5bc46ead5b2209520768eb6b7e069f5b9e4fbf57dcd24903afd6d4ac6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking preloader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { SECRET_DESCRIPTOR_TO_POSITION.lock().unwrap().insert(fd, 0) }; [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { SECRET_DESCRIPTOR_TO_POSITION.lock().unwrap().remove(&fd) }; [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | match SECRET_DESCRIPTOR_TO_POSITION.lock().unwrap().get_mut(&fd) { [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe { SECRET_DESCRIPTOR_TO_POSITION.lock().unwrap().insert(fd, 0) }; [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { SECRET_DESCRIPTOR_TO_POSITION.lock().unwrap().remove(&fd) }; [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | match SECRET_DESCRIPTOR_TO_POSITION.lock().unwrap().get_mut(&fd) { [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | / SECRET_DESCRIPTOR_TO_POSITION [INFO] [stdout] 116 | | .lock() [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | / SECRET_DESCRIPTOR_TO_POSITION [INFO] [stdout] 127 | | .lock() [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | / SECRET_DESCRIPTOR_TO_POSITION [INFO] [stdout] 179 | | .lock() [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | / SECRET_DESCRIPTOR_TO_POSITION [INFO] [stdout] 191 | | .lock() [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "cb159ea5bc46ead5b2209520768eb6b7e069f5b9e4fbf57dcd24903afd6d4ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb159ea5bc46ead5b2209520768eb6b7e069f5b9e4fbf57dcd24903afd6d4ac6", kill_on_drop: false }` [INFO] [stdout] cb159ea5bc46ead5b2209520768eb6b7e069f5b9e4fbf57dcd24903afd6d4ac6