[INFO] cloning repository https://github.com/ebkalderon/bastille [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ebkalderon/bastille" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Febkalderon%2Fbastille", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Febkalderon%2Fbastille'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dfd088d8ce764b2930a1f5aa3ae9cada01e3348 [INFO] checking ebkalderon/bastille against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Febkalderon%2Fbastille" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ebkalderon/bastille [INFO] finished tweaking git repo https://github.com/ebkalderon/bastille [INFO] tweaked toml for git repo https://github.com/ebkalderon/bastille written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ebkalderon/bastille on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ebkalderon/bastille 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62d7a57aaed4f575d7ad71fe3f158a890bd3ec0a688fa3a43608880acf3206cc [INFO] running `Command { std: "docker" "start" "-a" "62d7a57aaed4f575d7ad71fe3f158a890bd3ec0a688fa3a43608880acf3206cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62d7a57aaed4f575d7ad71fe3f158a890bd3ec0a688fa3a43608880acf3206cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d7a57aaed4f575d7ad71fe3f158a890bd3ec0a688fa3a43608880acf3206cc", kill_on_drop: false }` [INFO] [stdout] 62d7a57aaed4f575d7ad71fe3f158a890bd3ec0a688fa3a43608880acf3206cc [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f03a74ede8ed0cb3a047f01a2bcc2801491b98cb3e6e09379122057a634855cd [INFO] running `Command { std: "docker" "start" "-a" "f03a74ede8ed0cb3a047f01a2bcc2801491b98cb3e6e09379122057a634855cd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking errno v0.2.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling bastille v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking caps v0.3.3 [INFO] [stderr] Checking netlink-sys v0.2.0 (https://github.com/little-dude/netlink#c9ed934e) [INFO] [stderr] Checking openat v0.1.18 [INFO] [stderr] Checking os_pipe v0.9.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking libmount v0.1.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking ipc-channel v0.12.2 [INFO] [stderr] Checking paste v0.1.6 [INFO] [stderr] Checking netlink-packet-utils v0.1.0 (https://github.com/little-dude/netlink#c9ed934e) [INFO] [stderr] Checking netlink-packet-core v0.1.0 (https://github.com/little-dude/netlink#c9ed934e) [INFO] [stderr] Checking netlink-packet-route v0.1.0 (https://github.com/little-dude/netlink#c9ed934e) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | std::mem::replace(&mut mapping.host, real); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = std::mem::replace(&mut mapping.host, real); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/os/linux/creds.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let proc = PROC_DIR [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | .as_ref() [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/os/linux/creds.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | format!("0 {} 1\n{} {} 1\n", OVERFLOW_UID, sandbox_uid, parent_uid) [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 [INFO] [stdout] --> src/os/linux/creds.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | format!("0 {} 1\n{} {} 1\n", OVERFLOW_GID, sandbox_gid, parent_gid) [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 [INFO] [stdout] --> src/os/linux/privs.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | prctl_caps(REQUESTED_CAPS.as_slice(), false, true) [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 [INFO] [stdout] --> src/os/linux/privs.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | prctl_caps(REQUESTED_CAPS.as_slice(), true, false) [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 [INFO] [stdout] --> src/os/linux/privs.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | CapsHashSet::from_iter(REQUESTED_CAPS.clone()) [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 [INFO] [stdout] --> src/os/linux/unshare.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | let proc = PROC_DIR [INFO] [stdout] | ____________________^ [INFO] [stdout] 264 | | .as_ref() [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: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | std::mem::replace(&mut mapping.host, real); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = std::mem::replace(&mut mapping.host, real); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/os/linux/creds.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let proc = PROC_DIR [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | .as_ref() [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/os/linux/creds.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | format!("0 {} 1\n{} {} 1\n", OVERFLOW_UID, sandbox_uid, parent_uid) [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 [INFO] [stdout] --> src/os/linux/creds.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | format!("0 {} 1\n{} {} 1\n", OVERFLOW_GID, sandbox_gid, parent_gid) [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 [INFO] [stdout] --> src/os/linux/privs.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | prctl_caps(REQUESTED_CAPS.as_slice(), false, true) [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 [INFO] [stdout] --> src/os/linux/privs.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | prctl_caps(REQUESTED_CAPS.as_slice(), true, false) [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 [INFO] [stdout] --> src/os/linux/privs.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | CapsHashSet::from_iter(REQUESTED_CAPS.clone()) [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 [INFO] [stdout] --> src/os/linux/unshare.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | let proc = PROC_DIR [INFO] [stdout] | ____________________^ [INFO] [stdout] 264 | | .as_ref() [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 16.21s [INFO] running `Command { std: "docker" "inspect" "f03a74ede8ed0cb3a047f01a2bcc2801491b98cb3e6e09379122057a634855cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f03a74ede8ed0cb3a047f01a2bcc2801491b98cb3e6e09379122057a634855cd", kill_on_drop: false }` [INFO] [stdout] f03a74ede8ed0cb3a047f01a2bcc2801491b98cb3e6e09379122057a634855cd