[INFO] updating cached repository https://github.com/AndreasOM/ggj19 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d1ec538f17b5d2e9f18aa8fcfff90cdd3b38246 [INFO] checking AndreasOM/ggj19/4d1ec538f17b5d2e9f18aa8fcfff90cdd3b38246 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreasOM%2Fggj19" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AndreasOM/ggj19 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AndreasOM/ggj19 [INFO] finished tweaking git repo https://github.com/AndreasOM/ggj19 [INFO] tweaked toml for git repo https://github.com/AndreasOM/ggj19 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AndreasOM/ggj19 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd7a100ca738bfee50c3346511452efed4891dba66870004a1d929b1fbeb07d9 [INFO] running `Command { std: "docker" "start" "-a" "fd7a100ca738bfee50c3346511452efed4891dba66870004a1d929b1fbeb07d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd7a100ca738bfee50c3346511452efed4891dba66870004a1d929b1fbeb07d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd7a100ca738bfee50c3346511452efed4891dba66870004a1d929b1fbeb07d9", kill_on_drop: false }` [INFO] [stdout] fd7a100ca738bfee50c3346511452efed4891dba66870004a1d929b1fbeb07d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84854fec6c1ae2b5634590dba6325eb73d06de3adb523012fc34c4dae591c491 [INFO] running `Command { std: "docker" "start" "-a" "84854fec6c1ae2b5634590dba6325eb73d06de3adb523012fc34c4dae591c491", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling minifb v0.11.2 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.1 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking ggj19 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bobs::bobtype::BobType` [INFO] [stdout] --> src/counter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bobs::bobtype::BobType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game.rs:587:26 [INFO] [stdout] | [INFO] [stdout] 587 | fb.fill_rect( px, py, ( px+1 ), ( py+1 ), 0x333333ff ); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - fb.fill_rect( px, py, ( px+1 ), ( py+1 ), 0x333333ff ); [INFO] [stdout] 587 + fb.fill_rect( px, py, px+1, ( py+1 ), 0x333333ff ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bobs::bobtype::BobType` [INFO] [stdout] --> src/counter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bobs::bobtype::BobType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game.rs:587:36 [INFO] [stdout] | [INFO] [stdout] 587 | fb.fill_rect( px, py, ( px+1 ), ( py+1 ), 0x333333ff ); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - fb.fill_rect( px, py, ( px+1 ), ( py+1 ), 0x333333ff ); [INFO] [stdout] 587 + fb.fill_rect( px, py, ( px+1 ), py+1, 0x333333ff ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game.rs:587:26 [INFO] [stdout] | [INFO] [stdout] 587 | fb.fill_rect( px, py, ( px+1 ), ( py+1 ), 0x333333ff ); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - fb.fill_rect( px, py, ( px+1 ), ( py+1 ), 0x333333ff ); [INFO] [stdout] 587 + fb.fill_rect( px, py, px+1, ( py+1 ), 0x333333ff ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game.rs:587:36 [INFO] [stdout] | [INFO] [stdout] 587 | fb.fill_rect( px, py, ( px+1 ), ( py+1 ), 0x333333ff ); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - fb.fill_rect( px, py, ( px+1 ), ( py+1 ), 0x333333ff ); [INFO] [stdout] 587 + fb.fill_rect( px, py, ( px+1 ), py+1, 0x333333ff ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_float_secs` found for struct `Duration` in the current scope [INFO] [stdout] --> src/main.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | let time_step = last_time.elapsed().as_float_secs() as f32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_secs` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | let time_step = last_time.elapsed().as_secs() as f32; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_float_secs` found for struct `Duration` in the current scope [INFO] [stdout] --> src/main.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | let time_step = last_time.elapsed().as_float_secs() as f32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_secs` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | let time_step = last_time.elapsed().as_secs() as f32; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/bobs/bob.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | let img = image::open(filename).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/bobs/bob.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | let img = image::open(filename).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv_alpha` [INFO] [stdout] --> src/bobs/bobmanager.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | let inv_alpha = 1.0 - alpha; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inv_alpha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv_alpha` [INFO] [stdout] --> src/bobs/bobmanager.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | let inv_alpha = 1.0 - alpha; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inv_alpha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/fb.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | for y in 0..h { [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/fb.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | for x in 0..w { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/fb.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | for y in 0..h { [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/fb.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | for x in 0..w { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | _ => 0x80ff00ff, // wtf [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 64 | ( true, true, false ) => 0x80ffff00, // slip [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 65 | ( true, false, false ) => 0x80333333, // land [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 66 | ( false, true, false ) => 0x800000ff, // water [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 67 | ( false, false, false ) => 0x80fffff, // blocked [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 68 | ( _, _, true ) => 0x8000ff00, // trash [INFO] [stdout] 69 | _ => 0x80ff00ff, // wtf [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | _ => 0x80ff00ff, // wtf [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 64 | ( true, true, false ) => 0x80ffff00, // slip [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 65 | ( true, false, false ) => 0x80333333, // land [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 66 | ( false, true, false ) => 0x800000ff, // water [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 67 | ( false, false, false ) => 0x80fffff, // blocked [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 68 | ( _, _, true ) => 0x8000ff00, // trash [INFO] [stdout] 69 | _ => 0x80ff00ff, // wtf [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/game.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let p = ( fy * GRID_WIDTH + fx ) as usize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bag_fill_sign` [INFO] [stdout] --> src/game.rs:478:7 [INFO] [stdout] | [INFO] [stdout] 478 | let bag_fill_sign = bag_fill_delta.signum(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bag_fill_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/game.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let p = ( fy * GRID_WIDTH + fx ) as usize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bag_fill_sign` [INFO] [stdout] --> src/game.rs:478:7 [INFO] [stdout] | [INFO] [stdout] 478 | let bag_fill_sign = bag_fill_delta.signum(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bag_fill_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ggj19` (bin "ggj19") due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ggj19` (bin "ggj19" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "84854fec6c1ae2b5634590dba6325eb73d06de3adb523012fc34c4dae591c491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84854fec6c1ae2b5634590dba6325eb73d06de3adb523012fc34c4dae591c491", kill_on_drop: false }` [INFO] [stdout] 84854fec6c1ae2b5634590dba6325eb73d06de3adb523012fc34c4dae591c491