[INFO] cloning repository https://github.com/nchashch/dcpu16 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nchashch/dcpu16" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnchashch%2Fdcpu16", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnchashch%2Fdcpu16'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d64309406a09993fa557c71957896c4fab63058 [INFO] checking nchashch/dcpu16 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnchashch%2Fdcpu16" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nchashch/dcpu16 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nchashch/dcpu16 [INFO] finished tweaking git repo https://github.com/nchashch/dcpu16 [INFO] tweaked toml for git repo https://github.com/nchashch/dcpu16 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/nchashch/dcpu16 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8964327b4a999a5a912dcde6f7734b11f72d45dbeda0004c1a907cf09166e5cf [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" "8964327b4a999a5a912dcde6f7734b11f72d45dbeda0004c1a907cf09166e5cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8964327b4a999a5a912dcde6f7734b11f72d45dbeda0004c1a907cf09166e5cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8964327b4a999a5a912dcde6f7734b11f72d45dbeda0004c1a907cf09166e5cf", kill_on_drop: false }` [INFO] [stdout] 8964327b4a999a5a912dcde6f7734b11f72d45dbeda0004c1a907cf09166e5cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a10833c8f5f0dff1e73263f9fdf3b3a6ed06916b843f85a21170d7dc232e4008 [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" "a10833c8f5f0dff1e73263f9fdf3b3a6ed06916b843f85a21170d7dc232e4008", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking memchr v2.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking simba v0.2.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking nalgebra v0.22.0 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Checking enum-map v0.6.2 [INFO] [stderr] Checking dcpu16 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `preceded`, `switch`, `take_while`, `ws` [INFO] [stdout] --> src/assembly/parser.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::{tag, map_res, named, alt, ws, char, preceded, delimited, take_while, separated_pair, tuple, switch, recognize, many0, complete}; [INFO] [stdout] | ^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/assembly/parser.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::{IResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_res` [INFO] [stdout] --> src/assembly/parser.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::combinator::{map_res}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::branch::alt` [INFO] [stdout] --> src/assembly/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::branch::alt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_digit` [INFO] [stdout] --> src/assembly/parser.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::character::{is_digit}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `assembly::nom::ws`: whitespace parsing only works with macros and will not be updated anymore [INFO] [stdout] --> src/assembly/parser.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::{tag, map_res, named, alt, ws, char, preceded, delimited, take_while, separated_pair, tuple, switch, recognize, many0, complete}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `preceded`, `switch`, `take_while`, `ws` [INFO] [stdout] --> src/assembly/parser.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::{tag, map_res, named, alt, ws, char, preceded, delimited, take_while, separated_pair, tuple, switch, recognize, many0, complete}; [INFO] [stdout] | ^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/assembly/parser.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::{IResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_res` [INFO] [stdout] --> src/assembly/parser.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::combinator::{map_res}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::branch::alt` [INFO] [stdout] --> src/assembly/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::branch::alt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_digit` [INFO] [stdout] --> src/assembly/parser.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::character::{is_digit}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `assembly::nom::ws`: whitespace parsing only works with macros and will not be updated anymore [INFO] [stdout] --> src/assembly/parser.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::{tag, map_res, named, alt, ws, char, preceded, delimited, take_while, separated_pair, tuple, switch, recognize, many0, complete}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pc` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut pc = 0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cycles` is assigned to, but never used [INFO] [stdout] --> src/dcpu/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut cycles = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cycles` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cycles` is never read [INFO] [stdout] --> src/dcpu/mod.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | cycles += op.cycles() + b.cycles() + a.cycles(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut arr_addr = 1000; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut pc = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pc` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut pc = 0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cycles` is assigned to, but never used [INFO] [stdout] --> src/dcpu/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut cycles = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cycles` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cycles` is never read [INFO] [stdout] --> src/dcpu/mod.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | cycles += op.cycles() + b.cycles() + a.cycles(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut arr_addr = 1000; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut pc = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycles` [INFO] [stdout] --> src/dcpu/special_op.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycles` [INFO] [stdout] --> src/dcpu/special_op.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.40s [INFO] running `Command { std: "docker" "inspect" "a10833c8f5f0dff1e73263f9fdf3b3a6ed06916b843f85a21170d7dc232e4008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a10833c8f5f0dff1e73263f9fdf3b3a6ed06916b843f85a21170d7dc232e4008", kill_on_drop: false }` [INFO] [stdout] a10833c8f5f0dff1e73263f9fdf3b3a6ed06916b843f85a21170d7dc232e4008