[INFO] crate object-pool 0.4.4 is already in cache [INFO] testing object-pool-0.4.4 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate object-pool 0.4.4 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate object-pool 0.4.4 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate object-pool 0.4.4 [INFO] finished tweaking crates.io crate object-pool 0.4.4 [INFO] tweaked toml for crates.io crate object-pool 0.4.4 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a044f1eea5a11a783974a06471de539a9e600bbbfa2956eec86c47c9fdc988f [INFO] running `"docker" "start" "-a" "7a044f1eea5a11a783974a06471de539a9e600bbbfa2956eec86c47c9fdc988f"` [INFO] [stderr] Compiling object-pool v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `"docker" "inspect" "7a044f1eea5a11a783974a06471de539a9e600bbbfa2956eec86c47c9fdc988f"` [INFO] running `"docker" "rm" "-f" "7a044f1eea5a11a783974a06471de539a9e600bbbfa2956eec86c47c9fdc988f"` [INFO] [stdout] 7a044f1eea5a11a783974a06471de539a9e600bbbfa2956eec86c47c9fdc988f [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4bb7f822da4b9ca19969639743cf5709460af23288f9a9ea36c99e837097a2b1 [INFO] running `"docker" "start" "-a" "4bb7f822da4b9ca19969639743cf5709460af23288f9a9ea36c99e837097a2b1"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling criterion v0.3.1 [INFO] [stderr] Compiling object-pool v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/lib.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | std::thread::sleep_ms(3000); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 38.53s [INFO] running `"docker" "inspect" "4bb7f822da4b9ca19969639743cf5709460af23288f9a9ea36c99e837097a2b1"` [INFO] running `"docker" "rm" "-f" "4bb7f822da4b9ca19969639743cf5709460af23288f9a9ea36c99e837097a2b1"` [INFO] [stdout] 4bb7f822da4b9ca19969639743cf5709460af23288f9a9ea36c99e837097a2b1 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e973f48ffef0c99ae70a799b1d26a2a07adea354722f552157455e5783b389c9 [INFO] running `"docker" "start" "-a" "e973f48ffef0c99ae70a799b1d26a2a07adea354722f552157455e5783b389c9"` [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/lib.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | std::thread::sleep_ms(3000); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/object_pool-5e3a2a5f6cc5109b [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::round_trip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests object-pool [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 23) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Pool` [INFO] [stdout] --> src/lib.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool> = Pool::new(32, || Vec::with_capacity(4096)); [INFO] [stdout] | ^^^^ use of undeclared type or module `Pool` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool> = Pool::new(32, || Vec::with_capacity(4096)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let pool: bool> = Pool::new(32, || Vec::with_capacity(4096)); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use object_pool::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Pool` [INFO] [stdout] --> src/lib.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool> = Pool::new(32, || Vec::with_capacity(4096)); [INFO] [stdout] | ^^^^ use of undeclared type or module `Pool` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope [INFO] [stdout] --> src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool> = Pool::new(32, || Vec::with_capacity(4096)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let pool: bool> = Pool::new(32, || Vec::with_capacity(4096)); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use object_pool::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_file` in this scope [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 6 | some_file.read_to_end(reusable_buff); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 51) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Arc` [INFO] [stdout] --> src/lib.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Arc> = Arc::new(Pool::new(cap, || T::new())); [INFO] [stdout] | ^^^ use of undeclared type or module `Arc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Pool` [INFO] [stdout] --> src/lib.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Arc> = Arc::new(Pool::new(cap, || T::new())); [INFO] [stdout] | ^^^^ use of undeclared type or module `Pool` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `T` [INFO] [stdout] --> src/lib.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Arc> = Arc::new(Pool::new(cap, || T::new())); [INFO] [stdout] | ^ use of undeclared type or module `T` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Arc> = Arc::new(Pool::new(cap, || T::new())); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope [INFO] [stdout] --> src/lib.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Arc> = Arc::new(Pool::new(cap, || T::new())); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Arc> = Arc::new(Pool::new(cap, || T::new())); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use object_pool::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Arc> = Arc::new(Pool::new(cap, || T::new())); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cap` in this scope [INFO] [stdout] --> src/lib.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Arc> = Arc::new(Pool::new(cap, || T::new())); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Pool` [INFO] [stdout] --> src/lib.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool = Pool::new(capacity, || T::new()); [INFO] [stdout] | ^^^^ use of undeclared type or module `Pool` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `T` [INFO] [stdout] --> src/lib.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool = Pool::new(capacity, || T::new()); [INFO] [stdout] | ^ use of undeclared type or module `T` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope [INFO] [stdout] --> src/lib.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool = Pool::new(capacity, || T::new()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let pool: bool = Pool::new(capacity, || T::new()); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use object_pool::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool = Pool::new(capacity, || T::new()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `capacity` in this scope [INFO] [stdout] --> src/lib.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool = Pool::new(capacity, || T::new()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Pool` [INFO] [stdout] --> src/lib.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool> = Pool::new(32, || Vec::with_capacity(4096)); [INFO] [stdout] | ^^^^ use of undeclared type or module `Pool` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope [INFO] [stdout] --> src/lib.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 3 | let pool: Pool> = Pool::new(32, || Vec::with_capacity(4096)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | let pool: bool> = Pool::new(32, || Vec::with_capacity(4096)); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use object_pool::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - (line 23) [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "e973f48ffef0c99ae70a799b1d26a2a07adea354722f552157455e5783b389c9"` [INFO] running `"docker" "rm" "-f" "e973f48ffef0c99ae70a799b1d26a2a07adea354722f552157455e5783b389c9"` [INFO] [stdout] e973f48ffef0c99ae70a799b1d26a2a07adea354722f552157455e5783b389c9