[INFO] fetching crate proptest 1.4.0... [INFO] checking proptest-1.4.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate proptest 1.4.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate proptest 1.4.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate proptest 1.4.0 [INFO] finished tweaking crates.io crate proptest 1.4.0 [INFO] tweaked toml for crates.io crate proptest 1.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate proptest 1.4.0 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.6.0 [INFO] [stderr] Downloaded bit_field v0.10.2 [INFO] [stderr] Downloaded rustix v0.37.23 [INFO] [stderr] Downloaded x86 v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 941bef6b7a0aea407fd2a08bf07e13bc72dc35305694bbb16dd44dfb9b9c7fc6 [INFO] running `Command { std: "docker" "start" "-a" "941bef6b7a0aea407fd2a08bf07e13bc72dc35305694bbb16dd44dfb9b9c7fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "941bef6b7a0aea407fd2a08bf07e13bc72dc35305694bbb16dd44dfb9b9c7fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941bef6b7a0aea407fd2a08bf07e13bc72dc35305694bbb16dd44dfb9b9c7fc6", kill_on_drop: false }` [INFO] [stdout] 941bef6b7a0aea407fd2a08bf07e13bc72dc35305694bbb16dd44dfb9b9c7fc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95fced4744fc9b469452b56fce81069bd7e4a3710312a230dd82a6c5a5bcf13b [INFO] running `Command { std: "docker" "start" "-a" "95fced4744fc9b469452b56fce81069bd7e4a3710312a230dd82a6c5a5bcf13b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.3.2 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.9.1 [INFO] [stdout] warning: the item `statics` is imported redundantly [INFO] [stdout] --> src/arbitrary/_std/time.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::arbitrary::*; [INFO] [stdout] | ------------------- the item `statics` is already imported here [INFO] [stdout] 16 | use crate::num; [INFO] [stdout] 17 | use crate::strategy::statics::{self, static_map}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/bits.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use rand::{self, seq::IteratorRandom, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> src/collection.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::lazy::*` [INFO] [stdout] --> src/strategy/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub use self::lazy::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/test_runner/failure_persistence/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::noop::*` [INFO] [stdout] --> src/test_runner/failure_persistence/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::noop::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/test_runner/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | mod failure_persistence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/test_runner/rng.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/test_runner/rng.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{self, Rng, RngCore, SeedableRng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rusty_fork` is imported redundantly [INFO] [stdout] --> src/test_runner/runner.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rusty_fork; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | extern crate rusty_fork; [INFO] [stdout] | ------------------------ the item `rusty_fork` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/test_runner/runner.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tempfile; [INFO] [stdout] | ^^^^^^^^ the item `tempfile` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `statics` is imported redundantly [INFO] [stdout] --> src/arbitrary/_std/time.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::arbitrary::*; [INFO] [stdout] | ------------------- the item `statics` is already imported here [INFO] [stdout] 16 | use crate::num; [INFO] [stdout] 17 | use crate::strategy::statics::{self, static_map}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/bits.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use rand::{self, seq::IteratorRandom, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> src/collection.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Config` is imported redundantly [INFO] [stdout] --> src/strategy/flatten.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 262 | use super::*; [INFO] [stdout] | -------- the item `Config` is already imported here [INFO] [stdout] ... [INFO] [stdout] 267 | use crate::test_runner::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::lazy::*` [INFO] [stdout] --> src/strategy/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub use self::lazy::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/test_runner/failure_persistence/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::noop::*` [INFO] [stdout] --> src/test_runner/failure_persistence/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::noop::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/test_runner/rng.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/test_runner/rng.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::{self, Rng, RngCore, SeedableRng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rusty_fork` is imported redundantly [INFO] [stdout] --> src/test_runner/runner.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rusty_fork; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | extern crate rusty_fork; [INFO] [stdout] | ------------------------ the item `rusty_fork` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> src/test_runner/runner.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tempfile; [INFO] [stdout] | ^^^^^^^^ the item `tempfile` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Cell` is imported redundantly [INFO] [stdout] --> src/test_runner/runner.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1051 | use super::*; [INFO] [stdout] | -------- the item `Cell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/test_runner/runner.rs:1049:9 [INFO] [stdout] | [INFO] [stdout] 1049 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1050 | [INFO] [stdout] 1051 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Strategy` is imported redundantly [INFO] [stdout] --> src/test_runner/runner.rs:1052:9 [INFO] [stdout] | [INFO] [stdout] 1051 | use super::*; [INFO] [stdout] | -------- the item `Strategy` is already imported here [INFO] [stdout] 1052 | use crate::strategy::Strategy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TestRng` is imported redundantly [INFO] [stdout] --> src/test_runner/runner.rs:1053:68 [INFO] [stdout] | [INFO] [stdout] 1051 | use super::*; [INFO] [stdout] | -------- the item `TestRng` is already imported here [INFO] [stdout] 1052 | use crate::strategy::Strategy; [INFO] [stdout] 1053 | use crate::test_runner::{FileFailurePersistence, RngAlgorithm, TestRng}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/arbitrary/_std/sync.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | let (_, wtr) = wt.unwrap(); [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] = help: consider immediately dropping the value using `drop(..)` after the `let` statement [INFO] [stdout] = note: `#[deny(let_underscore_lock)]` on by default [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 81 | let (_unused, wtr) = wt.unwrap(); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/arbitrary/_std/sync.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | let (_, wtr) = wt.unwrap(); [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] = help: consider immediately dropping the value using `drop(..)` after the `let` statement [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 89 | let (_unused, wtr) = wt.unwrap(); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proptest` (lib) due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/arbitrary/_std/sync.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | let (_, wtr) = wt.unwrap(); [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] = help: consider immediately dropping the value using `drop(..)` after the `let` statement [INFO] [stdout] = note: `#[deny(let_underscore_lock)]` on by default [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 81 | let (_unused, wtr) = wt.unwrap(); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/arbitrary/_std/sync.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | let (_, wtr) = wt.unwrap(); [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] = help: consider immediately dropping the value using `drop(..)` after the `let` statement [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 89 | let (_unused, wtr) = wt.unwrap(); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proptest` (lib test) due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "95fced4744fc9b469452b56fce81069bd7e4a3710312a230dd82a6c5a5bcf13b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95fced4744fc9b469452b56fce81069bd7e4a3710312a230dd82a6c5a5bcf13b", kill_on_drop: false }` [INFO] [stdout] 95fced4744fc9b469452b56fce81069bd7e4a3710312a230dd82a6c5a5bcf13b