[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 master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Febkalderon%2Fbastille" "/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/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ebkalderon/bastille on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/little-dude/netlink` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.2.0 [INFO] [stderr] Downloaded libmount v0.1.15 [INFO] [stderr] Downloaded ipc-channel v0.12.2 [INFO] [stderr] Downloaded os_pipe v0.9.1 [INFO] [stderr] Downloaded nix v0.12.1 [INFO] [stderr] Downloaded serde_json v1.0.42 [INFO] [stderr] Downloaded signal-hook v0.1.12 [INFO] [stderr] Downloaded openat v0.1.18 [INFO] [stderr] Downloaded sandboxfs v0.2.0 [INFO] [stderr] Downloaded caps v0.3.3 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6160121c503c3d08f76361dbd4cbcb99b3bad58861ad8b3478c442e04d749fb2 [INFO] running `Command { std: "docker" "start" "-a" "6160121c503c3d08f76361dbd4cbcb99b3bad58861ad8b3478c442e04d749fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6160121c503c3d08f76361dbd4cbcb99b3bad58861ad8b3478c442e04d749fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6160121c503c3d08f76361dbd4cbcb99b3bad58861ad8b3478c442e04d749fb2", kill_on_drop: false }` [INFO] [stdout] 6160121c503c3d08f76361dbd4cbcb99b3bad58861ad8b3478c442e04d749fb2 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4ef2bed34f7f5060395d182a723e4507adf26dbc4c7a76e8fc1473b231b38b7 [INFO] running `Command { std: "docker" "start" "-a" "f4ef2bed34f7f5060395d182a723e4507adf26dbc4c7a76e8fc1473b231b38b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling bastille v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking errno v0.2.4 [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] Checking rand_core v0.5.1 [INFO] [stderr] Checking caps v0.3.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking libmount v0.1.15 [INFO] [stderr] Checking ipc-channel v0.12.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling paste-impl v0.1.6 [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)]` 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)]` 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)]` 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)]` 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 13.40s [INFO] running `Command { std: "docker" "inspect" "f4ef2bed34f7f5060395d182a723e4507adf26dbc4c7a76e8fc1473b231b38b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4ef2bed34f7f5060395d182a723e4507adf26dbc4c7a76e8fc1473b231b38b7", kill_on_drop: false }` [INFO] [stdout] f4ef2bed34f7f5060395d182a723e4507adf26dbc4c7a76e8fc1473b231b38b7