[INFO] cloning repository https://github.com/ray10k/Synacor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ray10k/Synacor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fray10k%2FSynacor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fray10k%2FSynacor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68efc6ef0930007d2f614ea1637f54d18805a690 [INFO] testing ray10k/Synacor against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fray10k%2FSynacor" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ray10k/Synacor on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ray10k/Synacor [INFO] finished tweaking git repo https://github.com/ray10k/Synacor [INFO] tweaked toml for git repo https://github.com/ray10k/Synacor written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ray10k/Synacor 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f3c9705978fc913eb49b3b0eead9c94af5d262b2e74092c351e505ee0ff7af1 [INFO] running `Command { std: "docker" "start" "-a" "2f3c9705978fc913eb49b3b0eead9c94af5d262b2e74092c351e505ee0ff7af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f3c9705978fc913eb49b3b0eead9c94af5d262b2e74092c351e505ee0ff7af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3c9705978fc913eb49b3b0eead9c94af5d262b2e74092c351e505ee0ff7af1", kill_on_drop: false }` [INFO] [stdout] 2f3c9705978fc913eb49b3b0eead9c94af5d262b2e74092c351e505ee0ff7af1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10bde6bb53455af62240fe8079554ccb17b1528eea662ec028529f4bc5c5effb [INFO] running `Command { std: "docker" "start" "-a" "10bde6bb53455af62240fe8079554ccb17b1528eea662ec028529f4bc5c5effb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling circular-buffer v0.1.7 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling ratatui v0.26.1 [INFO] [stderr] Compiling clap v4.5.18 [INFO] [stderr] Compiling synapone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/static_analysis.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | 'next_block: while !exec_blocks.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deduped_blocks` [INFO] [stdout] --> src/static_analysis.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut deduped_blocks:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deduped_blocks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_block` [INFO] [stdout] --> src/static_analysis.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let current_block = exec_blocks.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_file` [INFO] [stdout] --> src/static_analysis.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut destination_file = File::create(save_path).or(Err(AnalysisError::FileAccessError))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/static_analysis.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let mut deduped_blocks:Vec = Vec::new(); [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/static_analysis.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let mut destination_file = File::create(save_path).or(Err(AnalysisError::FileAccessError))?; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump_memory_to_file` is never used [INFO] [stdout] --> src/machine.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl VirtualMachine { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn dump_memory_to_file(&self, save_location:&str) -> io_result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_program_slice` is never used [INFO] [stdout] --> src/instruction.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn parse_program_slice(input:&[u8]) -> Result,()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecBlock` is never constructed [INFO] [stdout] --> src/static_analysis.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ExecBlock{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/static_analysis.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl ExecBlock { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 15 | fn new(start:u16,end:u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Jump` is never constructed [INFO] [stdout] --> src/static_analysis.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct Jump { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnalysisError` is never used [INFO] [stdout] --> src/static_analysis.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | enum AnalysisError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_program_and_save` is never used [INFO] [stdout] --> src/static_analysis.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn parse_program_and_save(program:&[u16],save_path:&OsStr) -> Result<(),AnalysisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.78s [INFO] running `Command { std: "docker" "inspect" "10bde6bb53455af62240fe8079554ccb17b1528eea662ec028529f4bc5c5effb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10bde6bb53455af62240fe8079554ccb17b1528eea662ec028529f4bc5c5effb", kill_on_drop: false }` [INFO] [stdout] 10bde6bb53455af62240fe8079554ccb17b1528eea662ec028529f4bc5c5effb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6940507d6cc72813bd70ada9295968d72f3af0f9584e86562389c086294a8ae6 [INFO] running `Command { std: "docker" "start" "-a" "6940507d6cc72813bd70ada9295968d72f3af0f9584e86562389c086294a8ae6", kill_on_drop: false }` [INFO] [stderr] Compiling synapone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/static_analysis.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | 'next_block: while !exec_blocks.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deduped_blocks` [INFO] [stdout] --> src/static_analysis.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut deduped_blocks:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deduped_blocks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_block` [INFO] [stdout] --> src/static_analysis.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let current_block = exec_blocks.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_file` [INFO] [stdout] --> src/static_analysis.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut destination_file = File::create(save_path).or(Err(AnalysisError::FileAccessError))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/static_analysis.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let mut deduped_blocks:Vec = Vec::new(); [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/static_analysis.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let mut destination_file = File::create(save_path).or(Err(AnalysisError::FileAccessError))?; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump_memory_to_file` is never used [INFO] [stdout] --> src/machine.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl VirtualMachine { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn dump_memory_to_file(&self, save_location:&str) -> io_result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_program_slice` is never used [INFO] [stdout] --> src/instruction.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn parse_program_slice(input:&[u8]) -> Result,()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecBlock` is never constructed [INFO] [stdout] --> src/static_analysis.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ExecBlock{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/static_analysis.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl ExecBlock { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 15 | fn new(start:u16,end:u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Jump` is never constructed [INFO] [stdout] --> src/static_analysis.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct Jump { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnalysisError` is never used [INFO] [stdout] --> src/static_analysis.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | enum AnalysisError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_program_and_save` is never used [INFO] [stdout] --> src/static_analysis.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn parse_program_and_save(program:&[u16],save_path:&OsStr) -> Result<(),AnalysisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "6940507d6cc72813bd70ada9295968d72f3af0f9584e86562389c086294a8ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6940507d6cc72813bd70ada9295968d72f3af0f9584e86562389c086294a8ae6", kill_on_drop: false }` [INFO] [stdout] 6940507d6cc72813bd70ada9295968d72f3af0f9584e86562389c086294a8ae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c26a7b563abc7d45ccca74f286ab1b9ca6bb0be1667d788c5042ce3aca486bee [INFO] running `Command { std: "docker" "start" "-a" "c26a7b563abc7d45ccca74f286ab1b9ca6bb0be1667d788c5042ce3aca486bee", kill_on_drop: false }` [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/static_analysis.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | 'next_block: while !exec_blocks.is_empty() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deduped_blocks` [INFO] [stderr] --> src/static_analysis.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | let mut deduped_blocks:Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deduped_blocks` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_block` [INFO] [stderr] --> src/static_analysis.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | let current_block = exec_blocks.pop().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `destination_file` [INFO] [stderr] --> src/static_analysis.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | let mut destination_file = File::create(save_path).or(Err(AnalysisError::FileAccessError))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_file` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/static_analysis.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | let mut deduped_blocks:Vec = Vec::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/static_analysis.rs:188:9 [INFO] [stderr] | [INFO] [stderr] 188 | let mut destination_file = File::create(save_path).or(Err(AnalysisError::FileAccessError))?; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method `dump_memory_to_file` is never used [INFO] [stderr] --> src/machine.rs:397:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl VirtualMachine { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 397 | pub fn dump_memory_to_file(&self, save_location:&str) -> io_result<()>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `parse_program_slice` is never used [INFO] [stderr] --> src/instruction.rs:133:8 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn parse_program_slice(input:&[u8]) -> Result,()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ExecBlock` is never constructed [INFO] [stderr] --> src/static_analysis.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct ExecBlock{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/static_analysis.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 14 | impl ExecBlock { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 15 | fn new(start:u16,end:u16) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Jump` is never constructed [INFO] [stderr] --> src/static_analysis.rs:60:8 [INFO] [stderr] | [INFO] [stderr] 60 | struct Jump { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `AnalysisError` is never used [INFO] [stderr] --> src/static_analysis.rs:69:6 [INFO] [stderr] | [INFO] [stderr] 69 | enum AnalysisError { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_program_and_save` is never used [INFO] [stderr] --> src/static_analysis.rs:74:4 [INFO] [stderr] | [INFO] [stderr] 74 | fn parse_program_and_save(program:&[u16],save_path:&OsStr) -> Result<(),AnalysisError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `synapone` (bin "synapone" test) generated 13 warnings (run `cargo fix --bin "synapone" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/synapone-54368eadc2aecb2b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c26a7b563abc7d45ccca74f286ab1b9ca6bb0be1667d788c5042ce3aca486bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26a7b563abc7d45ccca74f286ab1b9ca6bb0be1667d788c5042ce3aca486bee", kill_on_drop: false }` [INFO] [stdout] c26a7b563abc7d45ccca74f286ab1b9ca6bb0be1667d788c5042ce3aca486bee