[INFO] cloning repository https://github.com/Hasenn/TP-rust-l3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hasenn/TP-rust-l3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHasenn%2FTP-rust-l3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHasenn%2FTP-rust-l3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9816396d8232c9c053261409f30cec1a2e1b4a4b [INFO] checking Hasenn/TP-rust-l3 against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHasenn%2FTP-rust-l3" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hasenn/TP-rust-l3 on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hasenn/TP-rust-l3 [INFO] finished tweaking git repo https://github.com/Hasenn/TP-rust-l3 [INFO] tweaked toml for git repo https://github.com/Hasenn/TP-rust-l3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Hasenn/TP-rust-l3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb12e574ef7d1ef4cc597ebe7f977d668fbbd982f01424d97801e79bc235628 [INFO] running `Command { std: "docker" "start" "-a" "ddb12e574ef7d1ef4cc597ebe7f977d668fbbd982f01424d97801e79bc235628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb12e574ef7d1ef4cc597ebe7f977d668fbbd982f01424d97801e79bc235628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb12e574ef7d1ef4cc597ebe7f977d668fbbd982f01424d97801e79bc235628", kill_on_drop: false }` [INFO] [stdout] ddb12e574ef7d1ef4cc597ebe7f977d668fbbd982f01424d97801e79bc235628 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41948bddb80bb3a3335f0b755f49bbd9cf9f06ad3973994426fe8e3f562adbb3 [INFO] running `Command { std: "docker" "start" "-a" "41948bddb80bb3a3335f0b755f49bbd9cf9f06ad3973994426fe8e3f562adbb3", kill_on_drop: false }` [INFO] [stderr] Checking do-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `OpCode` [INFO] [stdout] --> src/core.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::{Instruction, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpCode` [INFO] [stdout] --> src/core.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::{Instruction, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MEMORY_SIZE` [INFO] [stdout] --> src/core.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Error, MAX_REGISTER_INDEX, MEMORY_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MEMORY_SIZE` [INFO] [stdout] --> src/core.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Error, MAX_REGISTER_INDEX, MEMORY_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_REGISTER_INDEX` [INFO] [stdout] --> src/instruction.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Error, MAX_REGISTER_INDEX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_REGISTER_INDEX` [INFO] [stdout] --> src/instruction.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Error, MAX_REGISTER_INDEX}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/core.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn register(&self, index: u8) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/core.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn register(&self, index: u8) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn decode(&mut self, insn: u16) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn decode(&mut self, insn: u16) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn execute(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn execute(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | fn add(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | fn add(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | fn xor(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | fn xor(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn load(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn load(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | fn store(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/core.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | fn store(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/instruction.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn disassemble(insn: u16) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insn` [INFO] [stdout] --> src/instruction.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn disassemble(insn: u16) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_insn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add` is never used [INFO] [stdout] --> src/core.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn add(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `xor` is never used [INFO] [stdout] --> src/core.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn xor(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/core.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn load(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `store` is never used [INFO] [stdout] --> src/core.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn store(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add` is never used [INFO] [stdout] --> src/core.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn add(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `xor` is never used [INFO] [stdout] --> src/core.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn xor(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/core.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn load(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `store` is never used [INFO] [stdout] --> src/core.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn store(&mut self, insn: Instruction) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "41948bddb80bb3a3335f0b755f49bbd9cf9f06ad3973994426fe8e3f562adbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41948bddb80bb3a3335f0b755f49bbd9cf9f06ad3973994426fe8e3f562adbb3", kill_on_drop: false }` [INFO] [stdout] 41948bddb80bb3a3335f0b755f49bbd9cf9f06ad3973994426fe8e3f562adbb3