[INFO] cloning repository https://github.com/jdholdren/lc3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jdholdren/lc3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdholdren%2Flc3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdholdren%2Flc3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb9265de269cd174fb01e859a55ab3bbea0eddc4 [INFO] testing jdholdren/lc3 against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdholdren%2Flc3" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jdholdren/lc3 on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jdholdren/lc3 [INFO] finished tweaking git repo https://github.com/jdholdren/lc3 [INFO] tweaked toml for git repo https://github.com/jdholdren/lc3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jdholdren/lc3 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9868938be640f8f3a6a247af70ede2a561577c9d20b19c8a474988517cd529b [INFO] running `Command { std: "docker" "start" "-a" "b9868938be640f8f3a6a247af70ede2a561577c9d20b19c8a474988517cd529b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9868938be640f8f3a6a247af70ede2a561577c9d20b19c8a474988517cd529b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9868938be640f8f3a6a247af70ede2a561577c9d20b19c8a474988517cd529b", kill_on_drop: false }` [INFO] [stdout] b9868938be640f8f3a6a247af70ede2a561577c9d20b19c8a474988517cd529b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 821efd3d35ab6d667bf6b5c4d725e20bc6fec3cc251d90eab218d70197839da2 [INFO] running `Command { std: "docker" "start" "-a" "821efd3d35ab6d667bf6b5c4d725e20bc6fec3cc251d90eab218d70197839da2", kill_on_drop: false }` [INFO] [stderr] Compiling lc3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | let sign = (i >> (bit_count - 1) & 0b1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 309 - let sign = (i >> (bit_count - 1) & 0b1); [INFO] [stdout] 309 + let sign = i >> (bit_count - 1) & 0b1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn index(&self, index: Register) -> &Self::Output { [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/main.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | fn index_mut(&mut self, index: Register) -> &mut Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn from(value: Flag) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Register { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | R0 = 0, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | R1, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | R2, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | R3, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | R4, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | R5, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | R6, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | R7, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `P` and `N` are never constructed [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum Flag { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 36 | P = 1 << 0, [INFO] [stdout] | ^ [INFO] [stdout] 37 | Z = 1 << 1, [INFO] [stdout] 38 | N = 1 << 2, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mem` is never read [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 50 | reg: [u16; Register::COUNT as usize], [INFO] [stdout] 51 | mem: [u16; MAX_MEMORY], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step` is never used [INFO] [stdout] --> src/main.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl VM { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 72 | // Runs one instruction to completion. [INFO] [stdout] 73 | fn step(&mut self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/main.rs:122:6 [INFO] [stdout] | [INFO] [stdout] 122 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_op` is never used [INFO] [stdout] --> src/main.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn parse_op(instr: u16) -> Operation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_extend` is never used [INFO] [stdout] --> src/main.rs:308:4 [INFO] [stdout] | [INFO] [stdout] 308 | fn sign_extend(i: u16, bit_count: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcRwDl6L/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/lc3-9abedeebeb0b246f" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lc3` (bin "lc3") due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "821efd3d35ab6d667bf6b5c4d725e20bc6fec3cc251d90eab218d70197839da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821efd3d35ab6d667bf6b5c4d725e20bc6fec3cc251d90eab218d70197839da2", kill_on_drop: false }` [INFO] [stdout] 821efd3d35ab6d667bf6b5c4d725e20bc6fec3cc251d90eab218d70197839da2