[INFO] fetching crate static-atom 0.1.2... [INFO] testing static-atom-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate static-atom 0.1.2 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate static-atom 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3c407ef04d64f10df6b5eed82eecb4f3710e38ae3a784a0139a4cd7a6d037dc [INFO] running `Command { std: "docker" "start" "-a" "f3c407ef04d64f10df6b5eed82eecb4f3710e38ae3a784a0139a4cd7a6d037dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3c407ef04d64f10df6b5eed82eecb4f3710e38ae3a784a0139a4cd7a6d037dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c407ef04d64f10df6b5eed82eecb4f3710e38ae3a784a0139a4cd7a6d037dc", kill_on_drop: false }` [INFO] [stdout] f3c407ef04d64f10df6b5eed82eecb4f3710e38ae3a784a0139a4cd7a6d037dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5449aae79d6f137660df60ab1a77d2fbcb89f15576cf3745d88f0b1d1de3b79d [INFO] running `Command { std: "docker" "start" "-a" "5449aae79d6f137660df60ab1a77d2fbcb89f15576cf3745d88f0b1d1de3b79d", kill_on_drop: false }` [INFO] [stderr] Compiling try_from v0.2.2 [INFO] [stderr] Compiling static-atom v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> Iter { [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: 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | fn iter(&self) -> Iter<'_, Self::Key, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | fn iter_mut(&mut self) -> IterMut { [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] 59 | fn iter_mut(&mut self) -> IterMut<'_, Self::Key, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fn keys(&self) -> Keys { [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] 63 | fn keys(&self) -> Keys<'_, Self::Key, Self::Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | fn values(&self) -> iterators::Values { [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] 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] running `Command { std: "docker" "inspect" "5449aae79d6f137660df60ab1a77d2fbcb89f15576cf3745d88f0b1d1de3b79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5449aae79d6f137660df60ab1a77d2fbcb89f15576cf3745d88f0b1d1de3b79d", kill_on_drop: false }` [INFO] [stdout] 5449aae79d6f137660df60ab1a77d2fbcb89f15576cf3745d88f0b1d1de3b79d