[INFO] cloning repository https://github.com/Shun2439/cpu2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shun2439/cpu2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShun2439%2Fcpu2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShun2439%2Fcpu2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 089500ec6742fbc2bb76345989a42e92600161e2 [INFO] checking Shun2439/cpu2 against try#04ea1e1f1a12cfa912c228ca278237d92d0bb6df for pr-148477-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShun2439%2Fcpu2" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Shun2439/cpu2 [INFO] finished tweaking git repo https://github.com/Shun2439/cpu2 [INFO] tweaked toml for git repo https://github.com/Shun2439/cpu2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Shun2439/cpu2 on toolchain 04ea1e1f1a12cfa912c228ca278237d92d0bb6df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Shun2439/cpu2 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" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60f9a05b39c88e17b1f138098cc9d6a5415e3b2a42cc78dc169668218214950b [INFO] running `Command { std: "docker" "start" "-a" "60f9a05b39c88e17b1f138098cc9d6a5415e3b2a42cc78dc169668218214950b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60f9a05b39c88e17b1f138098cc9d6a5415e3b2a42cc78dc169668218214950b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f9a05b39c88e17b1f138098cc9d6a5415e3b2a42cc78dc169668218214950b", kill_on_drop: false }` [INFO] [stdout] 60f9a05b39c88e17b1f138098cc9d6a5415e3b2a42cc78dc169668218214950b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3784113cadfea115c34a58079e2e3584df62260bf5c0d77b5a5af6ee98ec7476 [INFO] running `Command { std: "docker" "start" "-a" "3784113cadfea115c34a58079e2e3584df62260bf5c0d77b5a5af6ee98ec7476", kill_on_drop: false }` [INFO] [stderr] Checking cpu2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `REG4` is never used [INFO] [stdout] --> src/cpu.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) const REG4: i16 = 4; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG5` is never used [INFO] [stdout] --> src/cpu.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) const REG5: i16 = 5; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG6` is never used [INFO] [stdout] --> src/cpu.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) const REG6: i16 = 6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG7` is never used [INFO] [stdout] --> src/cpu.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const REG7: i16 = 7; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mov` is never used [INFO] [stdout] --> src/cpu.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn mov(ra: i16, rb: i16) -> i16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/cpu.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn sub(ra: i16, rb: i16) -> i16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/cpu.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn and(ra: i16, rb: i16) -> i16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/cpu.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn or(ra: i16, rb: i16) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sl` is never used [INFO] [stdout] --> src/cpu.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn sl(ra: i16) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sr` is never used [INFO] [stdout] --> src/cpu.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sr(ra: i16) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sra` is never used [INFO] [stdout] --> src/cpu.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn sra(ra: i16) -> i16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ld` is never used [INFO] [stdout] --> src/cpu.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn ld(ra: i16, addr: i16) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG4` is never used [INFO] [stdout] --> src/cpu.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) const REG4: i16 = 4; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG5` is never used [INFO] [stdout] --> src/cpu.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) const REG5: i16 = 5; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG6` is never used [INFO] [stdout] --> src/cpu.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) const REG6: i16 = 6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REG7` is never used [INFO] [stdout] --> src/cpu.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const REG7: i16 = 7; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mov` is never used [INFO] [stdout] --> src/cpu.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn mov(ra: i16, rb: i16) -> i16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/cpu.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn sub(ra: i16, rb: i16) -> i16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `and` is never used [INFO] [stdout] --> src/cpu.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn and(ra: i16, rb: i16) -> i16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `or` is never used [INFO] [stdout] --> src/cpu.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn or(ra: i16, rb: i16) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sl` is never used [INFO] [stdout] --> src/cpu.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn sl(ra: i16) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sr` is never used [INFO] [stdout] --> src/cpu.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn sr(ra: i16) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sra` is never used [INFO] [stdout] --> src/cpu.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn sra(ra: i16) -> i16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ld` is never used [INFO] [stdout] --> src/cpu.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn ld(ra: i16, addr: i16) -> i16 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "3784113cadfea115c34a58079e2e3584df62260bf5c0d77b5a5af6ee98ec7476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3784113cadfea115c34a58079e2e3584df62260bf5c0d77b5a5af6ee98ec7476", kill_on_drop: false }` [INFO] [stdout] 3784113cadfea115c34a58079e2e3584df62260bf5c0d77b5a5af6ee98ec7476