[INFO] cloning repository https://github.com/weykon/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weykon/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db3c9c20a21ea19b9198bea7a832db8662bbd93e [INFO] testing weykon/rust-playground against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Frust-playground" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/weykon/rust-playground [INFO] finished tweaking git repo https://github.com/weykon/rust-playground [INFO] tweaked toml for git repo https://github.com/weykon/rust-playground written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/weykon/rust-playground 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] crate git repo https://github.com/weykon/rust-playground 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4b67958bee3219a9236e5c50c3f7b9f72001e6e5947980ac8afb5259a3ab517f [INFO] running `Command { std: "docker" "start" "-a" "4b67958bee3219a9236e5c50c3f7b9f72001e6e5947980ac8afb5259a3ab517f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b67958bee3219a9236e5c50c3f7b9f72001e6e5947980ac8afb5259a3ab517f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b67958bee3219a9236e5c50c3f7b9f72001e6e5947980ac8afb5259a3ab517f", kill_on_drop: false }` [INFO] [stdout] 4b67958bee3219a9236e5c50c3f7b9f72001e6e5947980ac8afb5259a3ab517f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8a8cda1bece67e24004d4578a12b79d7865779b5800c013629fd0fcae9018ec1 [INFO] running `Command { std: "docker" "start" "-a" "8a8cda1bece67e24004d4578a12b79d7865779b5800c013629fd0fcae9018ec1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0255]: the name `Scene` is defined multiple times [INFO] [stdout] --> src/hash_typeid_to_box_fn/scene_day_4.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 7 | use super::scene_day_2::Scene; [INFO] [stdout] | ------------------------- previous import of the type `Scene` here [INFO] [stdout] 8 | [INFO] [stdout] 9 | struct Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `Scene` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Scene` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 7 | use super::scene_day_2::Scene as OtherScene; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `f32::INFINITY`, and `ops::DerefMut` [INFO] [stdout] --> src/borrow_and_ref/box_examples/list_node.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::BorrowMut, f32::INFINITY, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::borrow_and_ref::box_examples::list_node::ListNode` [INFO] [stdout] --> src/borrow_and_ref/box_examples/list_node.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use crate::borrow_and_ref::box_examples::list_node::ListNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::Borrow`, `cell::RefCell`, `marker::PhantomData`, `ops::Deref`, and `rc::Rc` [INFO] [stdout] --> src/hash_typeid_to_box_fn/scene_day_2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | collections::HashMap, [INFO] [stdout] 6 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::RefCell` [INFO] [stdout] --> src/hash_typeid_to_box_fn/scene_day_3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | cell::RefCell, marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::scene_day_2::Scene` [INFO] [stdout] --> src/hash_typeid_to_box_fn/scene_day_4.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::scene_day_2::Scene; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hash_data` on type `&T` [INFO] [stdout] --> src/hash_typeid_to_box_fn/scene_day_4.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 52 | impl GetRes for T [INFO] [stdout] | - type parameter 'T' declared here [INFO] [stdout] ... [INFO] [stdout] 59 | &self.hash_data [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/life_time/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::{BorrowMut, Borrow}, cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/life_time/mod.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::{BorrowMut, Borrow}, cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h3` [INFO] [stdout] --> src/async/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let h3 = tokio::spawn(async { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_h3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content1` [INFO] [stdout] --> src/async/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let content1 = mock_read_file_1().await; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content2` [INFO] [stdout] --> src/async/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let content2 = mock_read_file_2().await; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content3` [INFO] [stdout] --> src/async/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let content3 = mock_read_file_3_Future().await; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/borrow_and_ref/BoxBoxWhy.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | fn process_string(s: Box) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/borrow_and_ref/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let b = &a; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_thing_ref` [INFO] [stdout] --> src/life_time/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | let a_thing_ref = Rc::clone(&app.a_thing); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_thing_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/life_time/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut app = App { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/hash_typeid_to_box_fn/scene.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let scene = BridgeForScene::::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/hash_typeid_to_box_fn/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | string: impl Into, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gfx` [INFO] [stdout] --> src/hash_typeid_to_box_fn/test.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn ready(&mut self, gfx: &Gfx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gfx` [INFO] [stdout] --> src/hash_typeid_to_box_fn/test.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | fn ready(&mut self, gfx: &Gfx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gfx` [INFO] [stdout] --> src/hash_typeid_to_box_fn/test.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | fn paint(&mut self, gfx: &Gfx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-playground` (bin "rust-playground") due to 2 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8a8cda1bece67e24004d4578a12b79d7865779b5800c013629fd0fcae9018ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a8cda1bece67e24004d4578a12b79d7865779b5800c013629fd0fcae9018ec1", kill_on_drop: false }` [INFO] [stdout] 8a8cda1bece67e24004d4578a12b79d7865779b5800c013629fd0fcae9018ec1