[INFO] fetching crate amplify 4.5.0... [INFO] checking amplify-4.5.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate amplify 4.5.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate amplify 4.5.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate amplify 4.5.0 [INFO] finished tweaking crates.io crate amplify 4.5.0 [INFO] tweaked toml for crates.io crate amplify 4.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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 55 packages [INFO] [stderr] Adding amplify_apfloat v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.42 [INFO] [stderr] Downloaded stringly_conversions v0.1.1 [INFO] [stderr] Downloaded serde_str_helpers v0.1.2 [INFO] [stderr] Downloaded parse_arg v0.1.4 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded amplify_derive v4.0.0 [INFO] [stderr] Downloaded amplify_apfloat v0.2.0 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.7 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded amplify_num v0.5.2 [INFO] [stderr] Downloaded amplify_syn v2.0.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 487b56143ae1046217de6cdc373a61a2a89f612ae6e944f0d0608cc9a04ba5e4 [INFO] running `Command { std: "docker" "start" "-a" "487b56143ae1046217de6cdc373a61a2a89f612ae6e944f0d0608cc9a04ba5e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "487b56143ae1046217de6cdc373a61a2a89f612ae6e944f0d0608cc9a04ba5e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "487b56143ae1046217de6cdc373a61a2a89f612ae6e944f0d0608cc9a04ba5e4", kill_on_drop: false }` [INFO] [stdout] 487b56143ae1046217de6cdc373a61a2a89f612ae6e944f0d0608cc9a04ba5e4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] affea0b8341d4fe2c52f5f574c061ec6ae32beca828b1c654bb530d480a3e585 [INFO] running `Command { std: "docker" "start" "-a" "affea0b8341d4fe2c52f5f574c061ec6ae32beca828b1c654bb530d480a3e585", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking amplify_num v0.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling amplify_syn v2.0.1 [INFO] [stderr] Compiling amplify_derive v4.0.0 [INFO] [stderr] Checking amplify v4.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/collection/confinement.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/collection/confinement.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/collection/confinement.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use alloc::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/collection/array.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/collection/flags.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/collection/flags.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/traits/as_any.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/collection/confinement.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/collection/confinement.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/collection/confinement.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use alloc::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/collection/array.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/collection/array.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 766 | [INFO] [stdout] 767 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Wrapper` is imported redundantly [INFO] [stdout] --> src/collection/array.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 767 | use super::*; [INFO] [stdout] | -------- the item `Wrapper` is already imported here [INFO] [stdout] 768 | use crate::Wrapper; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromHex` is imported redundantly [INFO] [stdout] --> src/collection/array.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 767 | use super::*; [INFO] [stdout] | -------- the item `FromHex` is already imported here [INFO] [stdout] 768 | use crate::Wrapper; [INFO] [stdout] 769 | use crate::hex::FromHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/collection/flags.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/collection/flags.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/traits/as_any.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amplify` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amplify` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "affea0b8341d4fe2c52f5f574c061ec6ae32beca828b1c654bb530d480a3e585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "affea0b8341d4fe2c52f5f574c061ec6ae32beca828b1c654bb530d480a3e585", kill_on_drop: false }` [INFO] [stdout] affea0b8341d4fe2c52f5f574c061ec6ae32beca828b1c654bb530d480a3e585