[INFO] fetching crate srestricted 0.3.0... [INFO] testing srestricted-0.3.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate srestricted 0.3.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate srestricted 0.3.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 163daaef3a56dd5ba6e2951da2ca5c39b679dad6b60f722d4783922de1a19638 [INFO] running `Command { std: "docker" "start" "-a" "163daaef3a56dd5ba6e2951da2ca5c39b679dad6b60f722d4783922de1a19638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "163daaef3a56dd5ba6e2951da2ca5c39b679dad6b60f722d4783922de1a19638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "163daaef3a56dd5ba6e2951da2ca5c39b679dad6b60f722d4783922de1a19638", kill_on_drop: false }` [INFO] [stdout] 163daaef3a56dd5ba6e2951da2ca5c39b679dad6b60f722d4783922de1a19638 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 220a1721ebe0fb8e76d32a70ca46a03646491880d11fde3bc0c6b6c5fd63e1d5 [INFO] running `Command { std: "docker" "start" "-a" "220a1721ebe0fb8e76d32a70ca46a03646491880d11fde3bc0c6b6c5fd63e1d5", 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)]` (part of `#[warn(unused)]`) 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:42 [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.28s [INFO] running `Command { std: "docker" "inspect" "220a1721ebe0fb8e76d32a70ca46a03646491880d11fde3bc0c6b6c5fd63e1d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220a1721ebe0fb8e76d32a70ca46a03646491880d11fde3bc0c6b6c5fd63e1d5", kill_on_drop: false }` [INFO] [stdout] 220a1721ebe0fb8e76d32a70ca46a03646491880d11fde3bc0c6b6c5fd63e1d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7739a15491346caca7ef574ea1653bd175c91b44871c721e2c9078d80180b35b [INFO] running `Command { std: "docker" "start" "-a" "7739a15491346caca7ef574ea1653bd175c91b44871c721e2c9078d80180b35b", 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)]` (part of `#[warn(unused)]`) 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:42 [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)]` (part of `#[warn(unused)]`) 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:42 [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.79s [INFO] running `Command { std: "docker" "inspect" "7739a15491346caca7ef574ea1653bd175c91b44871c721e2c9078d80180b35b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7739a15491346caca7ef574ea1653bd175c91b44871c721e2c9078d80180b35b", kill_on_drop: false }` [INFO] [stdout] 7739a15491346caca7ef574ea1653bd175c91b44871c721e2c9078d80180b35b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a599c5004d5f221186e5dbf17795f398f64690339b662fc3603297e648e7c7b0 [INFO] running `Command { std: "docker" "start" "-a" "a599c5004d5f221186e5dbf17795f398f64690339b662fc3603297e648e7c7b0", 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)]` (part of `#[warn(unused)]`) 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:42 [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.06s [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::multiple_resizes ... 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::size_restricted_collection::linkedlist_test::always_empty_err_nonempty ... 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::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::vec_test::size_restricted_collection::vec_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::vec_test::size_restricted_collection::vec_test::always_empty_err_nonempty ... 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::linear_collection_test::linkedlist_test::len_after_extend ... 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_nonempty ... 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::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::extend_shrink ... 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::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::too_small_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] 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::vecdeque_test::size_restricted_collection::vecdeque_test::always_empty ... 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::linkedlist_test::size_restricted_collection::linkedlist_test::too_small_nonempty ... ok [INFO] [stdout] test collections::alloc_collections::test::linear_alloc_collection_test::linkedlist_test::size_restricted_collection::linkedlist_test::too_small_empty ... ok [INFO] [stderr] Doc-tests srestricted [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] [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" "a599c5004d5f221186e5dbf17795f398f64690339b662fc3603297e648e7c7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a599c5004d5f221186e5dbf17795f398f64690339b662fc3603297e648e7c7b0", kill_on_drop: false }` [INFO] [stdout] a599c5004d5f221186e5dbf17795f398f64690339b662fc3603297e648e7c7b0