[INFO] fetching crate srestricted 0.3.0... [INFO] testing srestricted-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate srestricted 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate srestricted 0.3.0 [INFO] finished tweaking crates.io crate srestricted 0.3.0 [INFO] tweaked toml for crates.io crate srestricted 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate srestricted 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90580db76d9a3d531f7a1294e5e2df228fc77eb0e82d8d1071af4e8815ae3429 [INFO] running `Command { std: "docker" "start" "-a" "90580db76d9a3d531f7a1294e5e2df228fc77eb0e82d8d1071af4e8815ae3429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90580db76d9a3d531f7a1294e5e2df228fc77eb0e82d8d1071af4e8815ae3429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90580db76d9a3d531f7a1294e5e2df228fc77eb0e82d8d1071af4e8815ae3429", kill_on_drop: false }` [INFO] [stdout] 90580db76d9a3d531f7a1294e5e2df228fc77eb0e82d8d1071af4e8815ae3429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03825e3cb24037fdb0a5c43f7618953780de5b2e0a1e6eb2ac8b921aebc10785 [INFO] running `Command { std: "docker" "start" "-a" "03825e3cb24037fdb0a5c43f7618953780de5b2e0a1e6eb2ac8b921aebc10785", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling srestricted v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alloc_collections::*` [INFO] [stdout] --> src/collections.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use alloc_collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::*` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn view_mut<'a>(&'a mut self) -> ::MutableView [INFO] [stdout] | ^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 295 | pub fn view_mut<'a>(&'a mut self) -> >::MutableView [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "03825e3cb24037fdb0a5c43f7618953780de5b2e0a1e6eb2ac8b921aebc10785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03825e3cb24037fdb0a5c43f7618953780de5b2e0a1e6eb2ac8b921aebc10785", kill_on_drop: false }` [INFO] [stdout] 03825e3cb24037fdb0a5c43f7618953780de5b2e0a1e6eb2ac8b921aebc10785 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 458dabd9e0c6812531f5cf07e03d44203e5683b84dd0aaf9a30903dd74334962 [INFO] running `Command { std: "docker" "start" "-a" "458dabd9e0c6812531f5cf07e03d44203e5683b84dd0aaf9a30903dd74334962", kill_on_drop: false }` [INFO] [stderr] Compiling srestricted v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alloc_collections::*` [INFO] [stdout] --> src/collections.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use alloc_collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::*` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn view_mut<'a>(&'a mut self) -> ::MutableView [INFO] [stdout] | ^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 295 | pub fn view_mut<'a>(&'a mut self) -> >::MutableView [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc_collections::*` [INFO] [stdout] --> src/collections.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use alloc_collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::*` [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn view_mut<'a>(&'a mut self) -> ::MutableView [INFO] [stdout] | ^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 295 | pub fn view_mut<'a>(&'a mut self) -> >::MutableView [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "458dabd9e0c6812531f5cf07e03d44203e5683b84dd0aaf9a30903dd74334962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458dabd9e0c6812531f5cf07e03d44203e5683b84dd0aaf9a30903dd74334962", kill_on_drop: false }` [INFO] [stdout] 458dabd9e0c6812531f5cf07e03d44203e5683b84dd0aaf9a30903dd74334962 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f4d4badd8db93905eb377421efdf3f17431e0d830b7633a691f32aafc686726 [INFO] running `Command { std: "docker" "start" "-a" "2f4d4badd8db93905eb377421efdf3f17431e0d830b7633a691f32aafc686726", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `alloc_collections::*` [INFO] [stderr] --> src/collections.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use alloc_collections::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `collections::*` [INFO] [stderr] --> src/lib.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub use collections::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:295:26 [INFO] [stderr] | [INFO] [stderr] 295 | pub fn view_mut<'a>(&'a mut self) -> ::MutableView [INFO] [stderr] | ^^ --------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 295 | pub fn view_mut<'a>(&'a mut self) -> >::MutableView [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `srestricted` (lib) generated 3 warnings (run `cargo fix --lib -p srestricted` to apply 3 suggestions) [INFO] [stderr] warning: `srestricted` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/srestricted-bd60d2d0ba490170) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::linear_collection_test::linkedlist_test::extend_shrink ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::linear_collection_test::linkedlist_test::len_after_extend ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::linear_collection_test::linkedlist_test::pop_after_push ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::linear_collection_test::linkedlist_test::multiple_resizes ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::size_restricted_collection::linkedlist_test::always_empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::size_restricted_collection::linkedlist_test::empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::size_restricted_collection::linkedlist_test::too_small_empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::size_restricted_collection::linkedlist_test::nonempty_err_empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::size_restricted_collection::linkedlist_test::too_small_nonempty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::linear_collection_test::vec_test::extend_shrink ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::linear_collection_test::vec_test::len_after_extend ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::linear_collection_test::vec_test::multiple_resizes ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::linear_collection_test::vec_test::pop_after_push ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::size_restricted_collection::linkedlist_test::always_empty_err_nonempty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::size_restricted_collection::vec_test::always_empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::size_restricted_collection::vec_test::empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::size_restricted_collection::vec_test::nonempty_err_empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::size_restricted_collection::vec_test::too_small_empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::size_restricted_collection::vec_test::too_small_nonempty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::linear_collection_test::vecdeque_test::extend_shrink ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::linear_collection_test::vecdeque_test::len_after_extend ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::linear_collection_test::vecdeque_test::pop_after_push ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::linear_collection_test::vecdeque_test::multiple_resizes ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::size_restricted_collection::vecdeque_test::always_empty_err_nonempty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::size_restricted_collection::vecdeque_test::too_small_empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::size_restricted_collection::vecdeque_test::too_small_nonempty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vec_test::size_restricted_collection::vec_test::always_empty_err_nonempty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::size_restricted_collection::vecdeque_test::empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::size_restricted_collection::vecdeque_test::always_empty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::vecdeque_test::size_restricted_collection::vecdeque_test::nonempty_err_empty ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests srestricted [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f4d4badd8db93905eb377421efdf3f17431e0d830b7633a691f32aafc686726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4d4badd8db93905eb377421efdf3f17431e0d830b7633a691f32aafc686726", kill_on_drop: false }` [INFO] [stdout] 2f4d4badd8db93905eb377421efdf3f17431e0d830b7633a691f32aafc686726