[INFO] fetching crate repr-rs 0.4.0... [INFO] testing repr-rs-0.4.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate repr-rs 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate repr-rs 0.4.0 [INFO] finished tweaking crates.io crate repr-rs 0.4.0 [INFO] tweaked toml for crates.io crate repr-rs 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate repr-rs 0.4.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 44 packages to latest compatible versions [INFO] [stderr] Adding downcast-rs v1.2.1 (available: v2.0.2) [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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 195ae97651e3bdbceb4a18f5fd0a32d8c4b78ce9409b7273fc8dc913dae0ee20 [INFO] running `Command { std: "docker" "start" "-a" "195ae97651e3bdbceb4a18f5fd0a32d8c4b78ce9409b7273fc8dc913dae0ee20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "195ae97651e3bdbceb4a18f5fd0a32d8c4b78ce9409b7273fc8dc913dae0ee20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "195ae97651e3bdbceb4a18f5fd0a32d8c4b78ce9409b7273fc8dc913dae0ee20", kill_on_drop: false }` [INFO] [stdout] 195ae97651e3bdbceb4a18f5fd0a32d8c4b78ce9409b7273fc8dc913dae0ee20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7660eb371011aa9663c4abece5b9691723040124f839bf635235ba3dd57b3db2 [INFO] running `Command { std: "docker" "start" "-a" "7660eb371011aa9663c4abece5b9691723040124f839bf635235ba3dd57b3db2", kill_on_drop: false }` [INFO] [stderr] Compiling repr-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repr.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn write(&mut self) -> ReprMutator { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn write(&mut self) -> ReprMutator<'_, T, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache/mod.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn write(&mut self) -> ReprMutator { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn write(&mut self) -> ReprMutator<'_, T, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "7660eb371011aa9663c4abece5b9691723040124f839bf635235ba3dd57b3db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7660eb371011aa9663c4abece5b9691723040124f839bf635235ba3dd57b3db2", kill_on_drop: false }` [INFO] [stdout] 7660eb371011aa9663c4abece5b9691723040124f839bf635235ba3dd57b3db2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9eb488507cda43e30f6cc6ecf83fd4dbc22606a88b98fb56da939fb0bc0c1cae [INFO] running `Command { std: "docker" "start" "-a" "9eb488507cda43e30f6cc6ecf83fd4dbc22606a88b98fb56da939fb0bc0c1cae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling repr-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repr.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn write(&mut self) -> ReprMutator { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn write(&mut self) -> ReprMutator<'_, T, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache/mod.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn write(&mut self) -> ReprMutator { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn write(&mut self) -> ReprMutator<'_, T, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repr.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn write(&mut self) -> ReprMutator { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn write(&mut self) -> ReprMutator<'_, T, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache/mod.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn write(&mut self) -> ReprMutator { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn write(&mut self) -> ReprMutator<'_, T, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 17.24s [INFO] running `Command { std: "docker" "inspect" "9eb488507cda43e30f6cc6ecf83fd4dbc22606a88b98fb56da939fb0bc0c1cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb488507cda43e30f6cc6ecf83fd4dbc22606a88b98fb56da939fb0bc0c1cae", kill_on_drop: false }` [INFO] [stdout] 9eb488507cda43e30f6cc6ecf83fd4dbc22606a88b98fb56da939fb0bc0c1cae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f011994f1db1312a233c6cce55ed7ef13412e27cdb2212b9f73b3595052c3d56 [INFO] running `Command { std: "docker" "start" "-a" "f011994f1db1312a233c6cce55ed7ef13412e27cdb2212b9f73b3595052c3d56", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repr.rs:99:15 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn write(&mut self) -> ReprMutator { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 99 | pub fn write(&mut self) -> ReprMutator<'_, T, I> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cache/mod.rs:121:15 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn write(&mut self) -> ReprMutator { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 121 | pub fn write(&mut self) -> ReprMutator<'_, T, I> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `repr-rs` (lib) generated 2 warnings (run `cargo fix --lib -p repr-rs` to apply 2 suggestions) [INFO] [stderr] warning: `repr-rs` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/repr_rs-37149345b10d5694) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test tests::should_allow_static_closures_for_cache_reads ... ok [INFO] [stdout] test tests::reading ... ok [INFO] [stdout] test tests::allowed_mutation ... ok [INFO] [stdout] test tests::reading_as_ref ... ok [INFO] [stdout] test tests::should_hash_by_inner ... ok [INFO] [stdout] test tests::should_invalidate_cache_on_mutation ... ok [INFO] [stdout] test tests::should_read_from_cache ... ok [INFO] [stdout] test tests::should_be_moveable_across_threads ... ok [INFO] [stdout] test tests::should_work_with_borrowed_data ... ok [INFO] [stdout] test tests::should_be_moveable_across_tasks ... ok [INFO] [stdout] test tests::should_be_shareable_across_threads ... ok [INFO] [stdout] test tests::should_work_with_shared_ownership_and_rwlock ... ok [INFO] [stdout] test tests::banned_mutation - should panic ... ok [INFO] [stdout] test tests::should_propagate_panic - should panic ... ok [INFO] [stdout] test tests::should_try_to_detect_non_deterministic_invariants - should panic ... ok [INFO] [stdout] test tests::should_work_with_borrowed_data_doing_a_bad_mutation - should panic ... ok [INFO] [stdout] test tests::banned_mutation_with_msg - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests repr_rs [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/repr.rs - repr::Repr::write (line 85) - compile fail ... ok [INFO] [stdout] test src/repr.rs - repr::Repr::with_msg (line 33) ... ok [INFO] [stdout] test src/cache/mod.rs - cache::CacheableRepr::write (line 107) - compile fail ... ok [INFO] [stdout] test src/repr.rs - repr::Repr::write (line 67) ... ok [INFO] [stdout] test src/repr.rs - repr::Repr::into_inner (line 106) ... ok [INFO] [stdout] test src/repr.rs - repr::Repr::new (line 16) ... ok [INFO] [stdout] test src/repr.rs - repr::Repr::read (line 51) ... ok [INFO] [stdout] test src/cache/mod.rs - cache::CacheableRepr::write (line 89) ... ok [INFO] [stdout] test src/cache/mod.rs - cache::CacheableRepr::into_inner (line 128) ... ok [INFO] [stdout] test src/cache/mod.rs - cache::CacheableRepr::with_msg (line 54) ... ok [INFO] [stdout] test src/cache/mod.rs - cache::CacheableRepr::new (line 36) ... ok [INFO] [stdout] test src/cache/mod.rs - cache::CacheableRepr::read (line 73) ... ok [INFO] [stdout] test src/cache/mod.rs - cache::CacheableRepr::lazy (line 144) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f011994f1db1312a233c6cce55ed7ef13412e27cdb2212b9f73b3595052c3d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f011994f1db1312a233c6cce55ed7ef13412e27cdb2212b9f73b3595052c3d56", kill_on_drop: false }` [INFO] [stdout] f011994f1db1312a233c6cce55ed7ef13412e27cdb2212b9f73b3595052c3d56