[INFO] cloning repository https://github.com/jakintosh/cohost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakintosh/cohost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakintosh%2Fcohost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakintosh%2Fcohost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 028fe46a7c60c465780ca789a26362aa202aa17d [INFO] checking jakintosh/cohost against try#d12484522bcab8d07e325c6570f226a2faace3f7 for pr-128425-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakintosh%2Fcohost" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jakintosh/cohost on toolchain d12484522bcab8d07e325c6570f226a2faace3f7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jakintosh/cohost [INFO] finished tweaking git repo https://github.com/jakintosh/cohost [INFO] tweaked toml for git repo https://github.com/jakintosh/cohost written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jakintosh/cohost 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" "+d12484522bcab8d07e325c6570f226a2faace3f7" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0d10151ad3f06030d49b3eea7cb6b9289d856635ddad882978ed419e6cd53f8 [INFO] running `Command { std: "docker" "start" "-a" "e0d10151ad3f06030d49b3eea7cb6b9289d856635ddad882978ed419e6cd53f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0d10151ad3f06030d49b3eea7cb6b9289d856635ddad882978ed419e6cd53f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d10151ad3f06030d49b3eea7cb6b9289d856635ddad882978ed419e6cd53f8", kill_on_drop: false }` [INFO] [stdout] e0d10151ad3f06030d49b3eea7cb6b9289d856635ddad882978ed419e6cd53f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abed64263e8d3d668b1eb4535eb38a0ce0a21d5b20ef244120c253c9def96afd [INFO] running `Command { std: "docker" "start" "-a" "abed64263e8d3d668b1eb4535eb38a0ce0a21d5b20ef244120c253c9def96afd", kill_on_drop: false }` [INFO] [stderr] Checking cohost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/core/device.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | out_buffer[0..copy_size].copy_from_slice(&in_buffer[(cursor..end)]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - out_buffer[0..copy_size].copy_from_slice(&in_buffer[(cursor..end)]); [INFO] [stdout] 62 + out_buffer[0..copy_size].copy_from_slice(&in_buffer[cursor..end]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/core/device.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | out_buffer[0..copy_size].copy_from_slice(&in_buffer[(cursor..end)]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - out_buffer[0..copy_size].copy_from_slice(&in_buffer[(cursor..end)]); [INFO] [stdout] 62 + out_buffer[0..copy_size].copy_from_slice(&in_buffer[cursor..end]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/assembler/representation/context.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | token: SourceToken, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assembled_tokens` [INFO] [stdout] --> src/assembler/representation/context.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | assembled_tokens: &mut HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assembled_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `macros` [INFO] [stdout] --> src/assembler/representation/context.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | macros: &HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `library` [INFO] [stdout] --> src/assembler/representation/context.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | library: &'a Library, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_library` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/assembler/representation/context.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut 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: unused variable: `token` [INFO] [stdout] --> src/assembler/representation/context.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | token: SourceToken, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assembled_tokens` [INFO] [stdout] --> src/assembler/representation/context.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | assembled_tokens: &mut HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assembled_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `macros` [INFO] [stdout] --> src/assembler/representation/context.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | macros: &HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `library` [INFO] [stdout] --> src/assembler/representation/context.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | library: &'a Library, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_library` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/assembler/representation/context.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut 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: type alias `NameTable` is never used [INFO] [stdout] --> src/assembler/representation.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type NameTable = std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pre_assemble_macro` is never used [INFO] [stdout] --> src/assembler/representation/context.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn pre_assemble_macro( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_operands16` is never used [INFO] [stdout] --> src/core.rs:453:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 453 | fn pop_operands16(&mut self, len: usize) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Console` is never constructed [INFO] [stdout] --> src/core/device.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) struct Console { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/device.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Console { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 42 | pub fn new() -> Console { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NameTable` is never used [INFO] [stdout] --> src/assembler/representation.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type NameTable = std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `pre_assemble_macro` is never used [INFO] [stdout] --> src/assembler/representation/context.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn pre_assemble_macro( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_operands16` is never used [INFO] [stdout] --> src/core.rs:453:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 453 | fn pop_operands16(&mut self, len: usize) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Console` is never constructed [INFO] [stdout] --> src/core/device.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) struct Console { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/device.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Console { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 42 | pub fn new() -> Console { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Library` [INFO] [stdout] --> src/bin/assemble.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | representation::{Context, Library, Module}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Library` [INFO] [stdout] --> src/bin/assemble.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | representation::{Context, Library, Module}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/bin/assemble.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let Parameters { source, output } = std::env::args().try_into().map_err(|e| { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/bin/assemble.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let Parameters { source, output } = std::env::args().try_into().map_err(|e| { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "abed64263e8d3d668b1eb4535eb38a0ce0a21d5b20ef244120c253c9def96afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abed64263e8d3d668b1eb4535eb38a0ce0a21d5b20ef244120c253c9def96afd", kill_on_drop: false }` [INFO] [stdout] abed64263e8d3d668b1eb4535eb38a0ce0a21d5b20ef244120c253c9def96afd