[INFO] fetching crate conniecs 0.2.0... [INFO] checking conniecs-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate conniecs 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate conniecs 0.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate conniecs 0.2.0 [INFO] finished tweaking crates.io crate conniecs 0.2.0 [INFO] tweaked toml for crates.io crate conniecs 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.77) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded free-ranges v1.0.7 [INFO] [stderr] Downloaded index-pool v1.0.11 [INFO] [stderr] Downloaded conniecs-derive v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1b72bdfa10f8b2294428057a74832d663c3c865f617977338a46057d16a6c04 [INFO] running `Command { std: "docker" "start" "-a" "b1b72bdfa10f8b2294428057a74832d663c3c865f617977338a46057d16a6c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1b72bdfa10f8b2294428057a74832d663c3c865f617977338a46057d16a6c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b72bdfa10f8b2294428057a74832d663c3c865f617977338a46057d16a6c04", kill_on_drop: false }` [INFO] [stdout] b1b72bdfa10f8b2294428057a74832d663c3c865f617977338a46057d16a6c04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2b706c74062c644f1920de5cdfdf87aa1768e60f7c05df980b96cd5d103b2b6 [INFO] running `Command { std: "docker" "start" "-a" "c2b706c74062c644f1920de5cdfdf87aa1768e60f7c05df980b96cd5d103b2b6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking free-ranges v1.0.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking index-pool v1.0.11 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling conniecs-derive v0.2.0 [INFO] [stderr] Checking conniecs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aspect.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Aspect(Box + 'static>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Aspect(Box + 'static>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aspect.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Aspect(Box + 'static>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Aspect(Box + 'static>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/component.rs:172:56 [INFO] [stdout] | [INFO] [stdout] 172 | .unwrap_or_else(|| panic!("Entity at index {} does not have this component attached")) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 172 | .unwrap_or_else(|| panic!("Entity at index {} does not have this component attached", ...)) [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 172 | .unwrap_or_else(|| panic!("{}", "Entity at index {} does not have this component attached")) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/component.rs:177:56 [INFO] [stdout] | [INFO] [stdout] 177 | .unwrap_or_else(|| panic!("Entity at index {} does not have this component attached")) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | .unwrap_or_else(|| panic!("Entity at index {} does not have this component attached", ...)) [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | .unwrap_or_else(|| panic!("{}", "Entity at index {} does not have this component attached")) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/component.rs:172:56 [INFO] [stdout] | [INFO] [stdout] 172 | .unwrap_or_else(|| panic!("Entity at index {} does not have this component attached")) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 172 | .unwrap_or_else(|| panic!("Entity at index {} does not have this component attached", ...)) [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 172 | .unwrap_or_else(|| panic!("{}", "Entity at index {} does not have this component attached")) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/component.rs:177:56 [INFO] [stdout] | [INFO] [stdout] 177 | .unwrap_or_else(|| panic!("Entity at index {} does not have this component attached")) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 177 | .unwrap_or_else(|| panic!("Entity at index {} does not have this component attached", ...)) [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 177 | .unwrap_or_else(|| panic!("{}", "Entity at index {} does not have this component attached")) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/entity/iter.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | values: self.values.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `VecMap>` does not implement `Clone`, so calling `clone` on `&VecMap>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 60 - values: self.values.clone(), [INFO] [stdout] 60 + values: self.values, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `VecMap>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/vec_map-0.8.2/src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 + #[derive(Clone)] [INFO] [stdout] 66 | pub struct VecMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/entity/iter.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | values: self.values.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `VecMap>` does not implement `Clone`, so calling `clone` on `&VecMap>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 60 - values: self.values.clone(), [INFO] [stdout] 60 + values: self.values, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `VecMap>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/vec_map-0.8.2/src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 + #[derive(Clone)] [INFO] [stdout] 66 | pub struct VecMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `cold` is ambiguous [INFO] [stdout] --> tests/aspects.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cold] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `cold` could refer to a built-in attribute [INFO] [stdout] note: `cold` could also refer to the derive helper attribute defined here [INFO] [stdout] --> tests/aspects.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, ComponentManager)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `cold` is ambiguous [INFO] [stdout] --> tests/aspects.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cold] [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a name conflict with a builtin attribute [INFO] [stdout] = note: `cold` could refer to a built-in attribute [INFO] [stdout] note: `cold` could also refer to the derive helper attribute defined here [INFO] [stdout] --> tests/aspects.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, ComponentManager)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> tests/aspects.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[cold]` is ignored on struct fields, match arms and macro defs [INFO] [stdout] --> tests/aspects.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[cold] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/aspects.rs:104:72 [INFO] [stdout] | [INFO] [stdout] 104 | static ATOMIC_BOOP: std::sync::atomic::AtomicBool = std::sync::atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 104 | static ATOMIC_BOOP: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `conniecs` (test "aspects") due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2b706c74062c644f1920de5cdfdf87aa1768e60f7c05df980b96cd5d103b2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b706c74062c644f1920de5cdfdf87aa1768e60f7c05df980b96cd5d103b2b6", kill_on_drop: false }` [INFO] [stdout] c2b706c74062c644f1920de5cdfdf87aa1768e60f7c05df980b96cd5d103b2b6