[INFO] cloning repository https://github.com/EmilNorden/rustnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EmilNorden/rustnes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilNorden%2Frustnes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilNorden%2Frustnes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80cab6ca1ca2b33cb5c255eb250aa7125b56df27 [INFO] checking EmilNorden/rustnes against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilNorden%2Frustnes" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EmilNorden/rustnes on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EmilNorden/rustnes [INFO] finished tweaking git repo https://github.com/EmilNorden/rustnes [INFO] tweaked toml for git repo https://github.com/EmilNorden/rustnes written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/EmilNorden/rustnes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7af43f430e40942b70becc2820fc8a8668425b1b9f381d7746aff2deeb04d521 [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" "7af43f430e40942b70becc2820fc8a8668425b1b9f381d7746aff2deeb04d521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7af43f430e40942b70becc2820fc8a8668425b1b9f381d7746aff2deeb04d521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af43f430e40942b70becc2820fc8a8668425b1b9f381d7746aff2deeb04d521", kill_on_drop: false }` [INFO] [stdout] 7af43f430e40942b70becc2820fc8a8668425b1b9f381d7746aff2deeb04d521 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7f63d49dd7e21f9894bb60c8aa030538ae41af58dcb0c6944f9c726c4ed954d9 [INFO] running `Command { std: "docker" "start" "-a" "7f63d49dd7e21f9894bb60c8aa030538ae41af58dcb0c6944f9c726c4ed954d9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking rustnes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::cpuregisters::CPURegisters` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cpuregisters::CPURegisters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::PPU` [INFO] [stdout] --> src/ram_controller.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ppu::PPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/cartridge.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufReader, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/cartridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpuregisters::CPURegisters` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cpuregisters::CPURegisters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::PPU` [INFO] [stdout] --> src/ram_controller.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ppu::PPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/cartridge.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufReader, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/cartridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_break` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mut should_break = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_break` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ffff` [INFO] [stdout] --> src/main.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | let ffff = 2323; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ffff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/cpu.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let foo = 2; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/ppu.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let foo = 3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mut should_break = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_break` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mut should_break = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_break` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ffff` [INFO] [stdout] --> src/main.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | let ffff = 2323; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ffff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/cpu.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let foo = 2; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/ppu.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let foo = 3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vram` [INFO] [stdout] --> src/ppu.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | vram: &'a RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/window.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | context: GLContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mut should_break = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vram` [INFO] [stdout] --> src/ppu.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | vram: &'a RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/window.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | context: GLContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.90s [INFO] running `Command { std: "docker" "inspect" "7f63d49dd7e21f9894bb60c8aa030538ae41af58dcb0c6944f9c726c4ed954d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f63d49dd7e21f9894bb60c8aa030538ae41af58dcb0c6944f9c726c4ed954d9", kill_on_drop: false }` [INFO] [stdout] 7f63d49dd7e21f9894bb60c8aa030538ae41af58dcb0c6944f9c726c4ed954d9