[INFO] cloning repository https://github.com/questmaster/rust_sweeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/questmaster/rust_sweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquestmaster%2Frust_sweeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquestmaster%2Frust_sweeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b27667c96983eb22d36bab24112866bd3a66a6a3 [INFO] checking questmaster/rust_sweeper against try#173780a87744406b7489b28349c0176f14bb3881 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquestmaster%2Frust_sweeper" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/questmaster/rust_sweeper on toolchain 173780a87744406b7489b28349c0176f14bb3881 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/questmaster/rust_sweeper [INFO] finished tweaking git repo https://github.com/questmaster/rust_sweeper [INFO] tweaked toml for git repo https://github.com/questmaster/rust_sweeper written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/questmaster/rust_sweeper 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" "+173780a87744406b7489b28349c0176f14bb3881" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41d7134dfc42f17390b3701c6dbbc78ff24168b27aa0712074bc7c0469574d53 [INFO] running `Command { std: "docker" "start" "-a" "41d7134dfc42f17390b3701c6dbbc78ff24168b27aa0712074bc7c0469574d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41d7134dfc42f17390b3701c6dbbc78ff24168b27aa0712074bc7c0469574d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d7134dfc42f17390b3701c6dbbc78ff24168b27aa0712074bc7c0469574d53", kill_on_drop: false }` [INFO] [stdout] 41d7134dfc42f17390b3701c6dbbc78ff24168b27aa0712074bc7c0469574d53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a463158c79b66d14184d4a6a30fa41ebce975b76f40afe04357c5a9a7522c3e0 [INFO] running `Command { std: "docker" "start" "-a" "a463158c79b66d14184d4a6a30fa41ebce975b76f40afe04357c5a9a7522c3e0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rust_sweeper v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sdl2-sys v0.34.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::rect::{Point, Rect}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::rect::{Point, Rect}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | let (x, y) = (0usize, 0usize); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let (x, y) = (0usize, 0usize); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | let (x, y) = (0usize, 0usize); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let (x, y) = (0usize, 0usize); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut x = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/lib.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut y = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut x = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unload_all` is never used [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'s> TextureManager<'s> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn unload_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/lib.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut y = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unload_all` is never used [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'s> TextureManager<'s> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn unload_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | .insert(resource_id.clone().to_string(), new_texture); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | .insert(resource_id.clone().to_string(), new_texture); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:49:55 [INFO] [stdout] | [INFO] [stdout] 49 | return self.textures.get(resource_id).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Texture<'_>` does not implement `Clone`, so calling `clone` on `&Texture<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 49 - return self.textures.get(resource_id).unwrap().clone(); [INFO] [stdout] 49 + return self.textures.get(resource_id).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Texture<'_>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.34.3/src/sdl2/render.rs:1524:1 [INFO] [stdout] | [INFO] [stdout] 152+ #[derive(Clone)] [INFO] [stdout] 152| pub struct Texture<'r> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:49:55 [INFO] [stdout] | [INFO] [stdout] 49 | return self.textures.get(resource_id).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Texture<'_>` does not implement `Clone`, so calling `clone` on `&Texture<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 49 - return self.textures.get(resource_id).unwrap().clone(); [INFO] [stdout] 49 + return self.textures.get(resource_id).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Texture<'_>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.34.3/src/sdl2/render.rs:1524:1 [INFO] [stdout] | [INFO] [stdout] 152+ #[derive(Clone)] [INFO] [stdout] 152| pub struct Texture<'r> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 53 | self.textures.get(resource_id).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Texture<'_>` does not implement `Clone`, so calling `clone` on `&Texture<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 53 - self.textures.get(resource_id).unwrap().clone() [INFO] [stdout] 53 + self.textures.get(resource_id).unwrap() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Texture<'_>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.34.3/src/sdl2/render.rs:1524:1 [INFO] [stdout] | [INFO] [stdout] 152+ #[derive(Clone)] [INFO] [stdout] 152| pub struct Texture<'r> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | canvas.draw_rects(&rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = canvas.draw_rects(&rect); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 53 | self.textures.get(resource_id).unwrap().clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Texture<'_>` does not implement `Clone`, so calling `clone` on `&Texture<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 53 - self.textures.get(resource_id).unwrap().clone() [INFO] [stdout] 53 + self.textures.get(resource_id).unwrap() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Texture<'_>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.34.3/src/sdl2/render.rs:1524:1 [INFO] [stdout] | [INFO] [stdout] 152+ #[derive(Clone)] [INFO] [stdout] 152| pub struct Texture<'r> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game_area_ui/sdl_ui.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | canvas.draw_rects(&rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = canvas.draw_rects(&rect); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.95s [INFO] running `Command { std: "docker" "inspect" "a463158c79b66d14184d4a6a30fa41ebce975b76f40afe04357c5a9a7522c3e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a463158c79b66d14184d4a6a30fa41ebce975b76f40afe04357c5a9a7522c3e0", kill_on_drop: false }` [INFO] [stdout] a463158c79b66d14184d4a6a30fa41ebce975b76f40afe04357c5a9a7522c3e0