[INFO] fetching crate discord-rpc-client 0.4.0... [INFO] testing discord-rpc-client-0.4.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate discord-rpc-client 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate discord-rpc-client 0.4.0 [INFO] finished tweaking crates.io crate discord-rpc-client 0.4.0 [INFO] tweaked toml for crates.io crate discord-rpc-client 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate discord-rpc-client 0.4.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate discord-rpc-client 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3e964e4ae45fbf7f5e6442eb31b9ec72b7b7191dab1bfa874611748408b62c7 [INFO] running `Command { std: "docker" "start" "-a" "f3e964e4ae45fbf7f5e6442eb31b9ec72b7b7191dab1bfa874611748408b62c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3e964e4ae45fbf7f5e6442eb31b9ec72b7b7191dab1bfa874611748408b62c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e964e4ae45fbf7f5e6442eb31b9ec72b7b7191dab1bfa874611748408b62c7", kill_on_drop: false }` [INFO] [stdout] f3e964e4ae45fbf7f5e6442eb31b9ec72b7b7191dab1bfa874611748408b62c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6d136c20cc1649093b1636ddc1920c652847dc7cbf2f32ed59d14e789227986 [INFO] running `Command { std: "docker" "start" "-a" "d6d136c20cc1649093b1636ddc1920c652847dc7cbf2f32ed59d14e789227986", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling discord-rpc-client v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `ping` is never used [INFO] [stdout] --> src/connection/base.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Connection: Sized { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | fn ping(&mut self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/models/message.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Copy, Clone, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [INFO] [stdout] 10 | pub enum OpCode { [INFO] [stdout] | ------ `OpCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.92s [INFO] running `Command { std: "docker" "inspect" "d6d136c20cc1649093b1636ddc1920c652847dc7cbf2f32ed59d14e789227986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d136c20cc1649093b1636ddc1920c652847dc7cbf2f32ed59d14e789227986", kill_on_drop: false }` [INFO] [stdout] d6d136c20cc1649093b1636ddc1920c652847dc7cbf2f32ed59d14e789227986 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2b222b09ed70c4254baea18d3f80acf456941d8eafb5264e5fae9e407511fd9 [INFO] running `Command { std: "docker" "start" "-a" "c2b222b09ed70c4254baea18d3f80acf456941d8eafb5264e5fae9e407511fd9", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/time-0.3.30/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c2b222b09ed70c4254baea18d3f80acf456941d8eafb5264e5fae9e407511fd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b222b09ed70c4254baea18d3f80acf456941d8eafb5264e5fae9e407511fd9", kill_on_drop: false }` [INFO] [stdout] c2b222b09ed70c4254baea18d3f80acf456941d8eafb5264e5fae9e407511fd9