[INFO] cloning repository https://github.com/jeffomatic/nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeffomatic/nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffomatic%2Fnes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffomatic%2Fnes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0652e8f899f79dfc6b50c9891608744b2eaad136 [INFO] checking jeffomatic/nes against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffomatic%2Fnes" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeffomatic/nes on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeffomatic/nes [INFO] finished tweaking git repo https://github.com/jeffomatic/nes [INFO] tweaked toml for git repo https://github.com/jeffomatic/nes written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jeffomatic/nes 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.6.13 [INFO] [stderr] Downloaded regex v1.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56d0b09fe5136e08704f68faab1707bd4cef0f6a413644a2fb58b9be3c74b756 [INFO] running `Command { std: "docker" "start" "-a" "56d0b09fe5136e08704f68faab1707bd4cef0f6a413644a2fb58b9be3c74b756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56d0b09fe5136e08704f68faab1707bd4cef0f6a413644a2fb58b9be3c74b756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d0b09fe5136e08704f68faab1707bd4cef0f6a413644a2fb58b9be3c74b756", kill_on_drop: false }` [INFO] [stdout] 56d0b09fe5136e08704f68faab1707bd4cef0f6a413644a2fb58b9be3c74b756 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 218e798af13480e7e1bd05484c59152416339dd4e9913703f40478dae722f501 [INFO] running `Command { std: "docker" "start" "-a" "218e798af13480e7e1bd05484c59152416339dd4e9913703f40478dae722f501", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::super::status::Status` [INFO] [stdout] --> src/cpu/execute/incdec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::status::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::status::Status` [INFO] [stdout] --> src/cpu/execute/loadstore.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cpu::status::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::status::Status` [INFO] [stdout] --> src/cpu/execute/stack.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::status::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::status::Status` [INFO] [stdout] --> src/cpu/execute/transfer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::status::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::assemble` [INFO] [stdout] --> src/cpu/step.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::assemble; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::status` [INFO] [stdout] --> src/cpu/step.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::status; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mapper/nrom128.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mapper/nrom128.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mapper/nrom128.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mapper/nrom128.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/cpu/assemble.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum Statement<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operand` is never used [INFO] [stdout] --> src/cpu/assemble.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum Operand<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Opval` is never used [INFO] [stdout] --> src/cpu/assemble.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | enum Opval<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_numeric` is never used [INFO] [stdout] --> src/cpu/assemble.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> Opval<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 39 | pub fn to_numeric(&self, symbols: &dyn SymbolTable) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Numeric` is never used [INFO] [stdout] --> src/cpu/assemble.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | enum Numeric { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_bytes`, `to_u16`, and `to_string` are never used [INFO] [stdout] --> src/cpu/assemble.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Numeric { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 57 | fn to_bytes(self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn to_u16(self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn to_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SymbolTable` is never used [INFO] [stdout] --> src/cpu/assemble.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | trait SymbolTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapSymbolTable` is never constructed [INFO] [stdout] --> src/cpu/assemble.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct MapSymbolTable<'a>(HashMap<&'a str, Numeric>); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompositeSymbolTable` is never constructed [INFO] [stdout] --> src/cpu/assemble.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct CompositeSymbolTable<'a>(Vec<&'a dyn SymbolTable>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cpu/assemble.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 101 | InvalidStatement(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | InvalidNumeric(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 103 | InvalidMnemonic(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | InvalidOperand(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | InvalidOpval(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 106 | SymbolNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 107 | NoValidAddressMode(opcode::Type, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | BranchLabelTooFar(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | LiteralInBranch(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | InvalidOperandSize(AddressMode, String, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement` is never used [INFO] [stdout] --> src/cpu/assemble.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn parse_statement<'a>(src: &'a str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_numeric` is never used [INFO] [stdout] --> src/cpu/assemble.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn parse_numeric(src: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_mnemonic` is never used [INFO] [stdout] --> src/cpu/assemble.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn parse_mnemonic(src: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_operand` is never used [INFO] [stdout] --> src/cpu/assemble.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn parse_operand<'a>(src: &'a str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_opval` is never used [INFO] [stdout] --> src/cpu/assemble.rs:279:4 [INFO] [stdout] | [INFO] [stdout] 279 | fn parse_opval<'a>(src: &'a str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infer_address_mode` is never used [INFO] [stdout] --> src/cpu/assemble.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn infer_address_mode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assemble` is never used [INFO] [stdout] --> src/cpu/assemble.rs:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn assemble(src: &str, base_reloc_addr: u16) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/cpu/opcode.rs:1163:8 [INFO] [stdout] | [INFO] [stdout] 1163 | pub fn encode(opcode_type: Type, addr_mode: AddressMode) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nmi`, `reset`, and `irq_brk` are never read [INFO] [stdout] --> src/cpu/state.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Vectors { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 86 | pub nmi: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | pub reset: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | pub irq_brk: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vectors` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vectors` and `ppu` are never read [INFO] [stdout] --> src/cpu/state.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | pub vectors: Vectors, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | pub ppu: ppu::Ppu, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExpansionBit` is never constructed [INFO] [stdout] --> src/cpu/status.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Status { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | ExpansionBit, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRG_SIZE` is never used [INFO] [stdout] --> src/mapper/nrom128.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PRG_SIZE: usize = 1 << 13; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHR_SIZE` is never used [INFO] [stdout] --> src/mapper/nrom128.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CHR_SIZE: usize = 1 << 12; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/mapper/nrom128.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(prg: &Vec, chr: &Vec) -> (Prg, Ppu) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Prg` is never constructed [INFO] [stdout] --> src/mapper/nrom128.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Prg(Vec); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ppu` is never constructed [INFO] [stdout] --> src/mapper/nrom128.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Ppu(Vec); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16_hi` is never used [INFO] [stdout] --> src/math.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn u16_hi(x: u16) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16_lo` is never used [INFO] [stdout] --> src/math.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn u16_lo(x: u16) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16_set_hi` is never used [INFO] [stdout] --> src/math.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn u16_set_hi(x: u16, hi: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16_set_lo` is never used [INFO] [stdout] --> src/math.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn u16_set_lo(x: u16, lo: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ppu/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Registers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | pub ppuctrl: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub ppumask: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub ppustatus: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub oamaddr: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub oamdata: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub ppuscroll: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub ppuaddr: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub ppudata: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub oamdma: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_ROWS` is never used [INFO] [stdout] --> src/ppu/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const TILE_ROWS: usize = 8; // 8x8 tiles [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_BITPLANES` is never used [INFO] [stdout] --> src/ppu/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const TILE_BITPLANES: usize = 2; // 2 bitplanes per tile [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_BYTES` is never used [INFO] [stdout] --> src/ppu/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const TILE_BYTES: usize = TILE_ROWS * TILE_BITPLANES; // 16 bytes per tile [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTRIBUTE_TABLE_BYTES` is never used [INFO] [stdout] --> src/ppu/mod.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const ATTRIBUTE_TABLE_BYTES: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAMETABLE_BYTES` is never used [INFO] [stdout] --> src/ppu/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const NAMETABLE_BYTES: usize = (NAMETABLE_ROWS * NAMETABLE_COLS) + ATTRIBUTE_TABLE_BYTES; // 1024 bytes (0x400) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `regs` and `oam` are never read [INFO] [stdout] --> src/ppu/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Ppu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 45 | regs: Registers, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | oam: [u8; OAM_BYTES], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PixelColor` is never used [INFO] [stdout] --> src/ppu/mod.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | enum PixelColor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bg_pixel_color` is never used [INFO] [stdout] --> src/ppu/mod.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl Ppu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn bg_pixel_color(&self, x: usize, y: usize) -> PixelColor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PALETTE_COLORS` is never used [INFO] [stdout] --> src/ppu/palette.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const PALETTE_COLORS: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CXA2025AS` is never used [INFO] [stdout] --> src/ppu/palette.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CXA2025AS: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAL` is never used [INFO] [stdout] --> src/ppu/palette.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | pub const PAL: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPOSITE_DIRECT_FBX` is never used [INFO] [stdout] --> src/ppu/palette.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | pub const COMPOSITE_DIRECT_FBX: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PVM_STYLE_D93_FBX` is never used [INFO] [stdout] --> src/ppu/palette.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | pub const PVM_STYLE_D93_FBX: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NTSC_HARDWARE_FBX` is never used [INFO] [stdout] --> src/ppu/palette.rs:274:11 [INFO] [stdout] | [INFO] [stdout] 274 | pub const NTSC_HARDWARE_FBX: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NES_CLASSIC_FBX_FS` is never used [INFO] [stdout] --> src/ppu/palette.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 341 | pub const NES_CLASSIC_FBX_FS: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mapper/nrom128.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mapper/nrom128.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mapper/nrom128.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mapper/nrom128.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | fn write(&mut self, addr: u16, v: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nmi`, `reset`, and `irq_brk` are never read [INFO] [stdout] --> src/cpu/state.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Vectors { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 86 | pub nmi: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | pub reset: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | pub irq_brk: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vectors` 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: fields `vectors` and `ppu` are never read [INFO] [stdout] --> src/cpu/state.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | pub vectors: Vectors, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | pub ppu: ppu::Ppu, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExpansionBit` is never constructed [INFO] [stdout] --> src/cpu/status.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Status { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | ExpansionBit, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRG_SIZE` is never used [INFO] [stdout] --> src/mapper/nrom128.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PRG_SIZE: usize = 1 << 13; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHR_SIZE` is never used [INFO] [stdout] --> src/mapper/nrom128.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CHR_SIZE: usize = 1 << 12; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/mapper/nrom128.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(prg: &Vec, chr: &Vec) -> (Prg, Ppu) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Prg` is never constructed [INFO] [stdout] --> src/mapper/nrom128.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Prg(Vec); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ppu` is never constructed [INFO] [stdout] --> src/mapper/nrom128.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Ppu(Vec); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ppu/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Registers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | pub ppuctrl: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub ppumask: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub ppustatus: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub oamaddr: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub oamdata: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub ppuscroll: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub ppuaddr: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub ppudata: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub oamdma: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_ROWS` is never used [INFO] [stdout] --> src/ppu/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const TILE_ROWS: usize = 8; // 8x8 tiles [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_BITPLANES` is never used [INFO] [stdout] --> src/ppu/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const TILE_BITPLANES: usize = 2; // 2 bitplanes per tile [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_BYTES` is never used [INFO] [stdout] --> src/ppu/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const TILE_BYTES: usize = TILE_ROWS * TILE_BITPLANES; // 16 bytes per tile [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATTRIBUTE_TABLE_BYTES` is never used [INFO] [stdout] --> src/ppu/mod.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const ATTRIBUTE_TABLE_BYTES: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAMETABLE_BYTES` is never used [INFO] [stdout] --> src/ppu/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const NAMETABLE_BYTES: usize = (NAMETABLE_ROWS * NAMETABLE_COLS) + ATTRIBUTE_TABLE_BYTES; // 1024 bytes (0x400) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `regs` and `oam` are never read [INFO] [stdout] --> src/ppu/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Ppu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 45 | regs: Registers, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | oam: [u8; OAM_BYTES], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PALETTE_COLORS` is never used [INFO] [stdout] --> src/ppu/palette.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const PALETTE_COLORS: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CXA2025AS` is never used [INFO] [stdout] --> src/ppu/palette.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CXA2025AS: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAL` is never used [INFO] [stdout] --> src/ppu/palette.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | pub const PAL: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPOSITE_DIRECT_FBX` is never used [INFO] [stdout] --> src/ppu/palette.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | pub const COMPOSITE_DIRECT_FBX: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PVM_STYLE_D93_FBX` is never used [INFO] [stdout] --> src/ppu/palette.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | pub const PVM_STYLE_D93_FBX: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NTSC_HARDWARE_FBX` is never used [INFO] [stdout] --> src/ppu/palette.rs:274:11 [INFO] [stdout] | [INFO] [stdout] 274 | pub const NTSC_HARDWARE_FBX: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NES_CLASSIC_FBX_FS` is never used [INFO] [stdout] --> src/ppu/palette.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 341 | pub const NES_CLASSIC_FBX_FS: [[u8; 3]; PALETTE_COLORS] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "218e798af13480e7e1bd05484c59152416339dd4e9913703f40478dae722f501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218e798af13480e7e1bd05484c59152416339dd4e9913703f40478dae722f501", kill_on_drop: false }` [INFO] [stdout] 218e798af13480e7e1bd05484c59152416339dd4e9913703f40478dae722f501 [INFO] checking jeffomatic/nes against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeffomatic%2Fnes" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeffomatic/nes on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeffomatic/nes [INFO] finished tweaking git repo https://github.com/jeffomatic/nes [INFO] tweaked toml for git repo https://github.com/jeffomatic/nes written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jeffomatic/nes 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16cb57a77e99916372143936c057565f9409c286a456fa82899299ccd73a73d5 [INFO] running `Command { std: "docker" "start" "-a" "16cb57a77e99916372143936c057565f9409c286a456fa82899299ccd73a73d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16cb57a77e99916372143936c057565f9409c286a456fa82899299ccd73a73d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16cb57a77e99916372143936c057565f9409c286a456fa82899299ccd73a73d5", kill_on_drop: false }` [INFO] [stdout] 16cb57a77e99916372143936c057565f9409c286a456fa82899299ccd73a73d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f436e697d629b1cb15402eb1fb5b6e8eebfec261252a10676dc0071ec6ed1e56 [INFO] running `Command { std: "docker" "start" "-a" "f436e697d629b1cb15402eb1fb5b6e8eebfec261252a10676dc0071ec6ed1e56", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.41/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 788 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.41/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 789 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.41/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 790 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.41/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.41/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 792 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.41/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 794 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f436e697d629b1cb15402eb1fb5b6e8eebfec261252a10676dc0071ec6ed1e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f436e697d629b1cb15402eb1fb5b6e8eebfec261252a10676dc0071ec6ed1e56", kill_on_drop: false }` [INFO] [stdout] f436e697d629b1cb15402eb1fb5b6e8eebfec261252a10676dc0071ec6ed1e56