[INFO] cloning repository https://github.com/sivese/FlyingChicken [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sivese/FlyingChicken" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsivese%2FFlyingChicken", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsivese%2FFlyingChicken'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fadb99bbba2cac3851a3aef147530cbee3550949 [INFO] building sivese/FlyingChicken against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsivese%2FFlyingChicken" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sivese/FlyingChicken on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sivese/FlyingChicken [INFO] finished tweaking git repo https://github.com/sivese/FlyingChicken [INFO] tweaked toml for git repo https://github.com/sivese/FlyingChicken written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sivese/FlyingChicken 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15b748dd3791e75ea6e1d324bcffd8390cf1fd5a2a5a570e126d7032ae68ad16 [INFO] running `Command { std: "docker" "start" "-a" "15b748dd3791e75ea6e1d324bcffd8390cf1fd5a2a5a570e126d7032ae68ad16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15b748dd3791e75ea6e1d324bcffd8390cf1fd5a2a5a570e126d7032ae68ad16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b748dd3791e75ea6e1d324bcffd8390cf1fd5a2a5a570e126d7032ae68ad16", kill_on_drop: false }` [INFO] [stdout] 15b748dd3791e75ea6e1d324bcffd8390cf1fd5a2a5a570e126d7032ae68ad16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21b99d5af665428c6894e5a21ea82a98b0ed2c7574d2f31ee96cd16c9b191637 [INFO] running `Command { std: "docker" "start" "-a" "21b99d5af665428c6894e5a21ea82a98b0ed2c7574d2f31ee96cd16c9b191637", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling flying_chicken v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/app/game.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::sys::{ KeyCode, SDL_Quit }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::vector::Vector2` [INFO] [stdout] --> src/app/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::math::vector::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/app/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_color` [INFO] [stdout] --> src/app/game.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let draw_color = Color::RGBA(128, 0, 128, 255); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Err(err) => { panic!("Couldn't initialize SDL system!") } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector2` is never constructed [INFO] [stdout] --> src/math/vector.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Vector2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector3` is never constructed [INFO] [stdout] --> src/math/vector.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Vector3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector3` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/game.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | self.canvas.fill_rect(Rect::new(30, 30, 512, 30 )); [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] 111 | let _ = self.canvas.fill_rect(Rect::new(30, 30, 512, 30 )); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.28s [INFO] running `Command { std: "docker" "inspect" "21b99d5af665428c6894e5a21ea82a98b0ed2c7574d2f31ee96cd16c9b191637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b99d5af665428c6894e5a21ea82a98b0ed2c7574d2f31ee96cd16c9b191637", kill_on_drop: false }` [INFO] [stdout] 21b99d5af665428c6894e5a21ea82a98b0ed2c7574d2f31ee96cd16c9b191637 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1cfa31110bbdb607d2497e2cb28bcc7818c7120161daac2e11f3455b3ff5974 [INFO] running `Command { std: "docker" "start" "-a" "a1cfa31110bbdb607d2497e2cb28bcc7818c7120161daac2e11f3455b3ff5974", kill_on_drop: false }` [INFO] [stderr] Compiling flying_chicken v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/app/game.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::sys::{ KeyCode, SDL_Quit }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::vector::Vector2` [INFO] [stdout] --> src/app/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::math::vector::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/app/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_color` [INFO] [stdout] --> src/app/game.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let draw_color = Color::RGBA(128, 0, 128, 255); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Err(err) => { panic!("Couldn't initialize SDL system!") } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector2` is never constructed [INFO] [stdout] --> src/math/vector.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Vector2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector2` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector3` is never constructed [INFO] [stdout] --> src/math/vector.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Vector3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector3` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/game.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | self.canvas.fill_rect(Rect::new(30, 30, 512, 30 )); [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] 111 | let _ = self.canvas.fill_rect(Rect::new(30, 30, 512, 30 )); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "a1cfa31110bbdb607d2497e2cb28bcc7818c7120161daac2e11f3455b3ff5974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1cfa31110bbdb607d2497e2cb28bcc7818c7120161daac2e11f3455b3ff5974", kill_on_drop: false }` [INFO] [stdout] a1cfa31110bbdb607d2497e2cb28bcc7818c7120161daac2e11f3455b3ff5974