[INFO] fetching crate static-atom 0.1.2... [INFO] checking static-atom-0.1.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate static-atom 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate static-atom 0.1.2 [INFO] finished tweaking crates.io crate static-atom 0.1.2 [INFO] tweaked toml for crates.io crate static-atom 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate static-atom 0.1.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding try_from v0.2.2 (available: v0.3.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e676a83fd10890973dd31152b1b5043a2b43415acb6da28a775397316cc167de [INFO] running `Command { std: "docker" "start" "-a" "e676a83fd10890973dd31152b1b5043a2b43415acb6da28a775397316cc167de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e676a83fd10890973dd31152b1b5043a2b43415acb6da28a775397316cc167de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e676a83fd10890973dd31152b1b5043a2b43415acb6da28a775397316cc167de", kill_on_drop: false }` [INFO] [stdout] e676a83fd10890973dd31152b1b5043a2b43415acb6da28a775397316cc167de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31d85deaa266bb3f43c5d6b2bf05eba30c93022306f4c3895b4c426fe7ab923a [INFO] running `Command { std: "docker" "start" "-a" "31d85deaa266bb3f43c5d6b2bf05eba30c93022306f4c3895b4c426fe7ab923a", kill_on_drop: false }` [INFO] [stderr] Checking try_from v0.2.2 [INFO] [stderr] Checking static-atom v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> Iter<'_, Self::Key, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | fn iter_mut(&mut self) -> IterMut<'_, Self::Key, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fn keys(&self) -> Keys { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | fn keys(&self) -> Keys<'_, Self::Key, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | fn values(&self) -> iterators::Values { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | fn values(&self) -> iterators::Values<'_, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/lib.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | let a2 = unsafe { mem::transmute::<[u8; 2], u16>(*a) }; [INFO] [stdout] | ------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[deny(unnecessary_transmutes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/lib.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | let a4 = unsafe { mem::transmute::<[u8; 4], u32>(*a) }; [INFO] [stdout] | ------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/lib.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | let a8 = unsafe { mem::transmute::<[u8; 8], u64>(*a) }; [INFO] [stdout] | ------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `static-atom` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> Iter<'_, Self::Key, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | fn iter_mut(&mut self) -> IterMut<'_, Self::Key, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fn keys(&self) -> Keys { [INFO] [stdout] | ^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | fn keys(&self) -> Keys<'_, Self::Key, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | fn values(&self) -> iterators::Values { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | fn values(&self) -> iterators::Values<'_, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/lib.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | let a2 = unsafe { mem::transmute::<[u8; 2], u16>(*a) }; [INFO] [stdout] | ------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[deny(unnecessary_transmutes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/lib.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | let a4 = unsafe { mem::transmute::<[u8; 4], u32>(*a) }; [INFO] [stdout] | ------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary transmute [INFO] [stdout] --> src/lib.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | let a8 = unsafe { mem::transmute::<[u8; 8], u64>(*a) }; [INFO] [stdout] | ------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `static-atom` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "31d85deaa266bb3f43c5d6b2bf05eba30c93022306f4c3895b4c426fe7ab923a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d85deaa266bb3f43c5d6b2bf05eba30c93022306f4c3895b4c426fe7ab923a", kill_on_drop: false }` [INFO] [stdout] 31d85deaa266bb3f43c5d6b2bf05eba30c93022306f4c3895b4c426fe7ab923a