[INFO] fetching crate mcslock 0.4.1... [INFO] checking mcslock-0.4.1 against try#149edce6c6ee840adb602803b96d083101ef3592 for pr-133502-16 [INFO] extracting crate mcslock 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mcslock 0.4.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mcslock 0.4.1 [INFO] tweaked toml for crates.io crate mcslock 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mcslock 0.4.1 on toolchain 149edce6c6ee840adb602803b96d083101ef3592 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mcslock 0.4.1 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" "+149edce6c6ee840adb602803b96d083101ef3592" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70940a91c96d780920b5541722c339c098e11e938f25c12bd6740e43f4e0b6a4 [INFO] running `Command { std: "docker" "start" "-a" "70940a91c96d780920b5541722c339c098e11e938f25c12bd6740e43f4e0b6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70940a91c96d780920b5541722c339c098e11e938f25c12bd6740e43f4e0b6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70940a91c96d780920b5541722c339c098e11e938f25c12bd6740e43f4e0b6a4", kill_on_drop: false }` [INFO] [stdout] 70940a91c96d780920b5541722c339c098e11e938f25c12bd6740e43f4e0b6a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f9b26aa3c5d6e2668f781cb4730b17f53a17916908b00a6a30f0fc3bf3dcffd [INFO] running `Command { std: "docker" "start" "-a" "2f9b26aa3c5d6e2668f781cb4730b17f53a17916908b00a6a30f0fc3bf3dcffd", kill_on_drop: false }` [INFO] [stderr] Checking mcslock v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:515:41 [INFO] [stdout] | [INFO] [stdout] 515 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:515:41 [INFO] [stdout] | [INFO] [stdout] 515 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:515:41 [INFO] [stdout] | [INFO] [stdout] 515 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:525:49 [INFO] [stdout] | [INFO] [stdout] 525 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:525:49 [INFO] [stdout] | [INFO] [stdout] 525 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:525:49 [INFO] [stdout] | [INFO] [stdout] 525 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:539:41 [INFO] [stdout] | [INFO] [stdout] 539 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:539:41 [INFO] [stdout] | [INFO] [stdout] 539 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:539:41 [INFO] [stdout] | [INFO] [stdout] 539 | F: FnOnce(&mut Self::Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 549 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 549 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 549 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:549:49 [INFO] [stdout] | [INFO] [stdout] 549 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `R` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:549:49 [INFO] [stdout] | [INFO] [stdout] 549 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `mutex::Mutex` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `R: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/raw/mutex.rs:549:49 [INFO] [stdout] | [INFO] [stdout] 549 | F: FnOnce(Option<&mut Self::Target>) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for lifetime `'_`... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] = help: consider adding an explicit lifetime bound `T: anon`... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0311`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcslock` (lib test) due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "2f9b26aa3c5d6e2668f781cb4730b17f53a17916908b00a6a30f0fc3bf3dcffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f9b26aa3c5d6e2668f781cb4730b17f53a17916908b00a6a30f0fc3bf3dcffd", kill_on_drop: false }` [INFO] [stdout] 2f9b26aa3c5d6e2668f781cb4730b17f53a17916908b00a6a30f0fc3bf3dcffd