[INFO] cloning repository https://github.com/nebula-technologies/singleton-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nebula-technologies/singleton-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnebula-technologies%2Fsingleton-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnebula-technologies%2Fsingleton-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e233ee937d2ec3d5bc78a8a42f8f2890879eeb5 [INFO] checking nebula-technologies/singleton-manager against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnebula-technologies%2Fsingleton-manager" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nebula-technologies/singleton-manager on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/nebula-technologies/singleton-manager [INFO] finished tweaking git repo https://github.com/nebula-technologies/singleton-manager [INFO] tweaked toml for git repo https://github.com/nebula-technologies/singleton-manager written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nebula-technologies/singleton-manager 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" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.uuid.versio [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06b5191bdbda9f85b86137c73672ee0cc04589487db4810756af1ca704f029d1 [INFO] running `Command { std: "docker" "start" "-a" "06b5191bdbda9f85b86137c73672ee0cc04589487db4810756af1ca704f029d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06b5191bdbda9f85b86137c73672ee0cc04589487db4810756af1ca704f029d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b5191bdbda9f85b86137c73672ee0cc04589487db4810756af1ca704f029d1", kill_on_drop: false }` [INFO] [stdout] 06b5191bdbda9f85b86137c73672ee0cc04589487db4810756af1ca704f029d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a0892d8e7531df94f17575259b93712e2d417b264f4df9b924ba5e6f06ec9d0 [INFO] running `Command { std: "docker" "start" "-a" "2a0892d8e7531df94f17575259b93712e2d417b264f4df9b924ba5e6f06ec9d0", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.uuid.versio [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking singleton-manager v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:343:65 [INFO] [stdout] | [INFO] [stdout] 343 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 343 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:382:59 [INFO] [stdout] | [INFO] [stdout] 382 | fn factory(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 382 | fn factory(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:343:65 [INFO] [stdout] | [INFO] [stdout] 343 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 343 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:382:59 [INFO] [stdout] | [INFO] [stdout] 382 | fn factory(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 382 | fn factory(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ONCE.call_once(|| INSTANCE = Cell::new(Some(SingletonManager::new()))); [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:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | match *INSTANCE.as_ptr() { [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:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ONCE.call_once(|| INSTANCE = Cell::new(Some(SingletonManager::new()))); [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:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | match *INSTANCE.as_ptr() { [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 1.05s [INFO] running `Command { std: "docker" "inspect" "2a0892d8e7531df94f17575259b93712e2d417b264f4df9b924ba5e6f06ec9d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0892d8e7531df94f17575259b93712e2d417b264f4df9b924ba5e6f06ec9d0", kill_on_drop: false }` [INFO] [stdout] 2a0892d8e7531df94f17575259b93712e2d417b264f4df9b924ba5e6f06ec9d0