[INFO] cloning repository https://github.com/machinetech/pongo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/machinetech/pongo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmachinetech%2Fpongo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmachinetech%2Fpongo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccfc4674962cd2be30e6742a3aceed34f124b760 [INFO] checking machinetech/pongo against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmachinetech%2Fpongo" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/machinetech/pongo on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/machinetech/pongo [INFO] finished tweaking git repo https://github.com/machinetech/pongo [INFO] tweaked toml for git repo https://github.com/machinetech/pongo written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/machinetech/pongo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c01ec2fb191e3c7ef82f5e8c62b75d29e7f307fb73977ee6b298f8c4ca6d362 [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" "4c01ec2fb191e3c7ef82f5e8c62b75d29e7f307fb73977ee6b298f8c4ca6d362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c01ec2fb191e3c7ef82f5e8c62b75d29e7f307fb73977ee6b298f8c4ca6d362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c01ec2fb191e3c7ef82f5e8c62b75d29e7f307fb73977ee6b298f8c4ca6d362", kill_on_drop: false }` [INFO] [stdout] 4c01ec2fb191e3c7ef82f5e8c62b75d29e7f307fb73977ee6b298f8c4ca6d362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7165edf06635a7ae095a8b6116716bc316fb40d8aa5e16bc9c8feacadaa4181 [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" "f7165edf06635a7ae095a8b6116716bc316fb40d8aa5e16bc9c8feacadaa4181", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.6.2 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking bitflags v0.2.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clock_ticks v0.0.6 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.9.1 [INFO] [stderr] Checking sdl2_mixer v0.7.1 [INFO] [stderr] Checking sdl2_ttf v0.9.1 [INFO] [stderr] Checking sdl2_image v0.3.0 [INFO] [stderr] Checking sdl2_gfx v0.6.3 [INFO] [stderr] Checking pongo v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pongo/game.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | layered_draw_queue: [Vec>>; 2], // Items to draw. [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pongo/game.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | resettables: Vec>> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Resettable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AUDIO_S16LSB`, `Music` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2_mixer::{AUDIO_S16LSB, DEFAULT_FREQUENCY, Music}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Font` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2_ttf::{Font}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/pongo/ball.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | let up_or_down = rand::sample(&mut rng, dir.into_iter(),1)[0]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/pongo/ball.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | let left_or_right = rand::sample(&mut rng, dir.into_iter(),1)[0]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/pongo/game.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/pongo/game.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | thread::sleep_ms(1500); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/pongo/game.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | thread::sleep_ms((max_delay_ms - duration_of_last_frame_execution_ms) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/pongo/game.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | Event::MouseMotion{x,y, ..} => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pongo/game.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | layered_draw_queue: [Vec>>; 2], // Items to draw. [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Drawable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pongo/game.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | resettables: Vec>> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Resettable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AUDIO_S16LSB`, `Music` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2_mixer::{AUDIO_S16LSB, DEFAULT_FREQUENCY, Music}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Font` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2_ttf::{Font}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/pongo/ball.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | let up_or_down = rand::sample(&mut rng, dir.into_iter(),1)[0]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/pongo/ball.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | let left_or_right = rand::sample(&mut rng, dir.into_iter(),1)[0]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/pongo/game.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/pongo/game.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | thread::sleep_ms(1500); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/pongo/game.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | thread::sleep_ms((max_delay_ms - duration_of_last_frame_execution_ms) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/pongo/ball.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | let up_or_down = rand::sample(&mut rng, dir.into_iter(),1)[0]; [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/pongo/ball.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | let left_or_right = rand::sample(&mut rng, dir.into_iter(),1)[0]; [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/pongo/game.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | Event::MouseMotion{x,y, ..} => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/pongo/ball.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | let up_or_down = rand::sample(&mut rng, dir.into_iter(),1)[0]; [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/pongo/ball.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | let left_or_right = rand::sample(&mut rng, dir.into_iter(),1)[0]; [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.99s [INFO] running `Command { std: "docker" "inspect" "f7165edf06635a7ae095a8b6116716bc316fb40d8aa5e16bc9c8feacadaa4181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7165edf06635a7ae095a8b6116716bc316fb40d8aa5e16bc9c8feacadaa4181", kill_on_drop: false }` [INFO] [stdout] f7165edf06635a7ae095a8b6116716bc316fb40d8aa5e16bc9c8feacadaa4181