[INFO] cloning repository https://github.com/matty316/rlox-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matty316/rlox-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Frlox-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Frlox-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e813668b566ef5318db3ef22477a7ed4d76a1294 [INFO] testing matty316/rlox-compiler against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatty316%2Frlox-compiler" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matty316/rlox-compiler on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matty316/rlox-compiler [INFO] finished tweaking git repo https://github.com/matty316/rlox-compiler [INFO] tweaked toml for git repo https://github.com/matty316/rlox-compiler written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matty316/rlox-compiler 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d68ca4fdf708f4e122717310f10867384ee9609c630fb8e2b606c9be7efd66b9 [INFO] running `Command { std: "docker" "start" "-a" "d68ca4fdf708f4e122717310f10867384ee9609c630fb8e2b606c9be7efd66b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d68ca4fdf708f4e122717310f10867384ee9609c630fb8e2b606c9be7efd66b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68ca4fdf708f4e122717310f10867384ee9609c630fb8e2b606c9be7efd66b9", kill_on_drop: false }` [INFO] [stdout] d68ca4fdf708f4e122717310f10867384ee9609c630fb8e2b606c9be7efd66b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8af8bf3eefd682df2258a4847700ae1a15ac1bd3f7dbcb30bb8f498f5afe28d [INFO] running `Command { std: "docker" "start" "-a" "c8af8bf3eefd682df2258a4847700ae1a15ac1bd3f7dbcb30bb8f498f5afe28d", kill_on_drop: false }` [INFO] [stderr] Compiling rlox-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/vm.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn interpret(&mut self, source: &str) -> InterpretResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/compiler.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let scanner = Scanner::new(source); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpCode` is never used [INFO] [stdout] --> src/chunk.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum OpCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `constants`, and `lines` are never read [INFO] [stdout] --> src/chunk.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 15 | pub(crate) code: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub(crate) constants: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub(crate) lines: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write` and `add_constant` are never used [INFO] [stdout] --> src/chunk.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn write(&mut self, code: u8, line: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn add_constant(&mut self, value: Value) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disasassemble_chunk` is never used [INFO] [stdout] --> src/debug.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn disasassemble_chunk(chunk: &Chunk, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disassemble_instruction` is never used [INFO] [stdout] --> src/debug.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn disassemble_instruction(chunk: &Chunk, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_instruction` is never used [INFO] [stdout] --> src/debug.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn simple_instruction(name: &str, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant_instruction` is never used [INFO] [stdout] --> src/debug.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn constant_instruction(name: &str, chunk: &Chunk, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_value` is never used [INFO] [stdout] --> src/debug.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn print_value(value: &Value) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryOp` is never used [INFO] [stdout] --> src/vm.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum BinaryOp { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk`, `ip`, and `stack` are never read [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct VM { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 17 | chunk: Chunk, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | ip: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | stack: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DEBUG` is never used [INFO] [stdout] --> src/vm.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | static DEBUG: bool = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, `read_byte`, `read_constant`, `binary_op`, and `run` are never used [INFO] [stdout] --> src/vm.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn push(&mut self, value: Value) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn pop(&mut self) -> Value { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn read_byte(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn read_constant(&mut self) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn binary_op(&mut self, op: BinaryOp) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn run(&mut self) -> InterpretResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compiler.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn compile(source: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scanner` is never constructed [INFO] [stdout] --> src/scanner.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Scanner<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/scanner.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenType` is never used [INFO] [stdout] --> src/scanner.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) enum TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/scanner.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> Scanner<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 39 | pub(crate) fn new(source: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) fn scan_token(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn string(&mut self) -> Token { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn number(&mut self) -> Token { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn ident(&mut self) -> Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn advance(&mut self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn check(&mut self, expected: char) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn skip_whitespace(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn peek_next(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn make_token(&self, token_type: TokenType) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn error_token(&self, message: &str) -> Token { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn ident_type(&mut self) -> TokenType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | fn check_keyword(&self, start: usize, length: usize, rest: &str, token_type: TokenType) -> TokenType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn is_digit(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | fn is_alpha(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/1.85.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcfFSxXX/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.85.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-6273572f18644c87.rlib,libpanic_unwind-267e668abf74a283.rlib,libobject-ec6154ccae37a33e.rlib,libmemchr-500edd5521c440d4.rlib,libaddr2line-86d8d9428792e8ef.rlib,libgimli-10f06487503767c2.rlib,librustc_demangle-6a38424de1e5bca5.rlib,libstd_detect-de9763ea1c19dca3.rlib,libhashbrown-a7f5bb2f736d3c49.rlib,librustc_std_workspace_alloc-7e368919bdc4a44c.rlib,libminiz_oxide-376454d49910c786.rlib,libadler-fa99f5692b5dce85.rlib,libunwind-91cafdaf16f7fe40.rlib,libcfg_if-f7ee3f1ea78d9dae.rlib,liblibc-d3a35665f881365a.rlib,liballoc-715bc629a88bca60.rlib,librustc_std_workspace_core-ae70165d1278cff7.rlib,libcore-406129d0e3fbc101.rlib,libcompiler_builtins-1af05515ab19524a.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.85.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rlox_compiler-fc04ebebcb3016c3" "-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 `rlox-compiler` (bin "rlox-compiler") due to 1 previous error; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c8af8bf3eefd682df2258a4847700ae1a15ac1bd3f7dbcb30bb8f498f5afe28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8af8bf3eefd682df2258a4847700ae1a15ac1bd3f7dbcb30bb8f498f5afe28d", kill_on_drop: false }` [INFO] [stdout] c8af8bf3eefd682df2258a4847700ae1a15ac1bd3f7dbcb30bb8f498f5afe28d