[INFO] fetching crate custom_rich_status 1.1.0... [INFO] testing custom_rich_status-1.1.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate custom_rich_status 1.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate custom_rich_status 1.1.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate custom_rich_status 1.1.0 [INFO] finished tweaking crates.io crate custom_rich_status 1.1.0 [INFO] tweaked toml for crates.io crate custom_rich_status 1.1.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded discord-rpc-client v0.2.4 [INFO] [stderr] Downloaded quoted_strings v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] caef4483c57b2603d3fcf7df43d973be6f06f96e9886ed18ed63df525877767c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "caef4483c57b2603d3fcf7df43d973be6f06f96e9886ed18ed63df525877767c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caef4483c57b2603d3fcf7df43d973be6f06f96e9886ed18ed63df525877767c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caef4483c57b2603d3fcf7df43d973be6f06f96e9886ed18ed63df525877767c", kill_on_drop: false }` [INFO] [stdout] caef4483c57b2603d3fcf7df43d973be6f06f96e9886ed18ed63df525877767c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 814bc1f982400c82ce45cf42fee382cc405b28f607fcba75410403305b99c99a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "814bc1f982400c82ce45cf42fee382cc405b28f607fcba75410403305b99c99a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quoted_strings v0.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling discord-rpc-client v0.2.4 [INFO] [stderr] Compiling custom_rich_status v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/models/dto.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/models/dto.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/models/dto.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/gnr_error.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | fn cause<'a>(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/command_engine/commands/mod.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | (name: meta_data.name.as_ref()) [INFO] [stdout] | ---------------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef<[u8]> for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/command_engine/commands/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | (name: meta_data.name.as_ref()) [INFO] [stdout] | ^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&std::string::String> for std::string::String; [INFO] [stdout] - impl<> From<&str> for std::string::String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/command_engine/commands/mod.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | ).bin_name(meta_data.prompt.as_ref()) [INFO] [stdout] | -----------------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef<[u8]> for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/command_engine/commands/mod.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | ).bin_name(meta_data.prompt.as_ref()) [INFO] [stdout] | ^^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&std::string::String> for std::string::String; [INFO] [stdout] - impl<> From<&str> for std::string::String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/command_engine/engine.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | String::from(buffer.trim_right()) [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `custom_rich_status` due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "814bc1f982400c82ce45cf42fee382cc405b28f607fcba75410403305b99c99a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "814bc1f982400c82ce45cf42fee382cc405b28f607fcba75410403305b99c99a", kill_on_drop: false }` [INFO] [stdout] 814bc1f982400c82ce45cf42fee382cc405b28f607fcba75410403305b99c99a