[INFO] fetching crate simple_ringbuf 0.1.2... [INFO] testing simple_ringbuf-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate simple_ringbuf 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate simple_ringbuf 0.1.2 [INFO] finished tweaking crates.io crate simple_ringbuf 0.1.2 [INFO] tweaked toml for crates.io crate simple_ringbuf 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simple_ringbuf 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be677f06e3b54b0d4d808b9d694f56d8dac3945d988a40e2dc20d483c55a69ce [INFO] running `Command { std: "docker" "start" "-a" "be677f06e3b54b0d4d808b9d694f56d8dac3945d988a40e2dc20d483c55a69ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be677f06e3b54b0d4d808b9d694f56d8dac3945d988a40e2dc20d483c55a69ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be677f06e3b54b0d4d808b9d694f56d8dac3945d988a40e2dc20d483c55a69ce", kill_on_drop: false }` [INFO] [stdout] be677f06e3b54b0d4d808b9d694f56d8dac3945d988a40e2dc20d483c55a69ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fca0813ade29443b88bd0263e3775098befc59c1b6eb4a72b9e1830c8b6609e [INFO] running `Command { std: "docker" "start" "-a" "7fca0813ade29443b88bd0263e3775098befc59c1b6eb4a72b9e1830c8b6609e", kill_on_drop: false }` [INFO] [stderr] Compiling simple_ringbuf v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn iter(&self) -> RingBufIter { [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] 386 | pub fn iter(&self) -> RingBufIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/impls.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / format!( [INFO] [stdout] 132 | | "Attempt to access index {} larger than current length {}", [INFO] [stdout] 133 | | idx, self.len [INFO] [stdout] 134 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 131 ~ [INFO] [stdout] 132 | "Attempt to access index {} larger than current length {}", [INFO] [stdout] 133 | idx, self.len [INFO] [stdout] 134 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "7fca0813ade29443b88bd0263e3775098befc59c1b6eb4a72b9e1830c8b6609e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fca0813ade29443b88bd0263e3775098befc59c1b6eb4a72b9e1830c8b6609e", kill_on_drop: false }` [INFO] [stdout] 7fca0813ade29443b88bd0263e3775098befc59c1b6eb4a72b9e1830c8b6609e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe40c8529fc4b1b13c6a5483531ad91e663c5de75908dcc75aeb9364d25f97e2 [INFO] running `Command { std: "docker" "start" "-a" "fe40c8529fc4b1b13c6a5483531ad91e663c5de75908dcc75aeb9364d25f97e2", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn iter(&self) -> RingBufIter { [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] 386 | pub fn iter(&self) -> RingBufIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/impls.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / format!( [INFO] [stdout] 132 | | "Attempt to access index {} larger than current length {}", [INFO] [stdout] 133 | | idx, self.len [INFO] [stdout] 134 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 131 ~ [INFO] [stdout] 132 | "Attempt to access index {} larger than current length {}", [INFO] [stdout] 133 | idx, self.len [INFO] [stdout] 134 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling simple_ringbuf v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/tests.rs:140:6 [INFO] [stdout] | [INFO] [stdout] 140 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn iter(&self) -> RingBufIter { [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] 386 | pub fn iter(&self) -> RingBufIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/impls.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / format!( [INFO] [stdout] 132 | | "Attempt to access index {} larger than current length {}", [INFO] [stdout] 133 | | idx, self.len [INFO] [stdout] 134 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 131 ~ [INFO] [stdout] 132 | "Attempt to access index {} larger than current length {}", [INFO] [stdout] 133 | idx, self.len [INFO] [stdout] 134 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `Command { std: "docker" "inspect" "fe40c8529fc4b1b13c6a5483531ad91e663c5de75908dcc75aeb9364d25f97e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe40c8529fc4b1b13c6a5483531ad91e663c5de75908dcc75aeb9364d25f97e2", kill_on_drop: false }` [INFO] [stdout] fe40c8529fc4b1b13c6a5483531ad91e663c5de75908dcc75aeb9364d25f97e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb9ecad7a27e24919c713ca284a26cfc998975c6d35a22f5d409e23b047670ab [INFO] running `Command { std: "docker" "start" "-a" "bb9ecad7a27e24919c713ca284a26cfc998975c6d35a22f5d409e23b047670ab", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:386:17 [INFO] [stderr] | [INFO] [stderr] 386 | pub fn iter(&self) -> RingBufIter { [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] 386 | pub fn iter(&self) -> RingBufIter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/impls.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | / format!( [INFO] [stderr] 132 | | "Attempt to access index {} larger than current length {}", [INFO] [stderr] 133 | | idx, self.len [INFO] [stderr] 134 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 131 ~ [INFO] [stderr] 132 | "Attempt to access index {} larger than current length {}", [INFO] [stderr] 133 | idx, self.len [INFO] [stderr] 134 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `simple_ringbuf` (lib) generated 2 warnings (run `cargo fix --lib -p simple_ringbuf` to apply 2 suggestions) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> tests/tests.rs:140:6 [INFO] [stderr] | [INFO] [stderr] 140 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `simple_ringbuf` (test "tests") generated 1 warning [INFO] [stderr] warning: `simple_ringbuf` (lib test) generated 2 warnings (2 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/simple_ringbuf-f68513efe6e941ca) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::sub_rem ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-e831aeaacfe92512) [INFO] [stderr] Running tests/serde_tests.rs (/opt/rustwide/target/debug/deps/serde_tests-bd04f8b179bd2a83) [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] [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] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-0a6d8ad3c7c64075) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test add_remove ... ok [INFO] [stdout] test clone ... ok [INFO] [stdout] end 0 begin 1 [INFO] [stdout] test justify ... ok [INFO] [stdout] test ringiness ... ok [INFO] [stdout] test resize ... ok [INFO] [stdout] test debug ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests simple_ringbuf [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - RingBuffer::is_justified (line 516) ... ok [INFO] [stdout] test src/lib.rs - RingBuffer::justify (line 398) ... ok [INFO] [stdout] test src/lib.rs - RingBuffer::push (line 198) ... ok [INFO] [stdout] test src/lib.rs - RingBuffer::pop_oldest (line 345) ... ok [INFO] [stdout] test src/lib.rs - RingBuffer::push_back (line 255) ... ok [INFO] [stdout] test src/lib.rs - RingBuffer::resize (line 555) ... ok [INFO] [stdout] test src/lib.rs - RingBuffer::pop (line 311) ... ok [INFO] [stdout] test src/lib.rs - RingBuffer::elem_equal (line 681) ... ok [INFO] [stdout] test src/lib.rs - RingBuffer::from_iter_cap (line 150) ... ok [INFO] [stdout] test src/lib.rs - RingBuffer::from_exact_size_iter (line 115) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb9ecad7a27e24919c713ca284a26cfc998975c6d35a22f5d409e23b047670ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9ecad7a27e24919c713ca284a26cfc998975c6d35a22f5d409e23b047670ab", kill_on_drop: false }` [INFO] [stdout] bb9ecad7a27e24919c713ca284a26cfc998975c6d35a22f5d409e23b047670ab