[INFO] cloning repository https://github.com/iamgabrieloliveira/Lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamgabrieloliveira/Lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamgabrieloliveira%2FLox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamgabrieloliveira%2FLox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58b9e5a1971ac2d596826e17415f7871bd252b6e [INFO] testing iamgabrieloliveira/Lox against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamgabrieloliveira%2FLox" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamgabrieloliveira/Lox 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/iamgabrieloliveira/Lox [INFO] finished tweaking git repo https://github.com/iamgabrieloliveira/Lox [INFO] tweaked toml for git repo https://github.com/iamgabrieloliveira/Lox written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/iamgabrieloliveira/Lox 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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5a3e792ee2709bff8a5aa216919aeebcd25dc73d79841e89c7705623ad60d59f [INFO] running `Command { std: "docker" "start" "-a" "5a3e792ee2709bff8a5aa216919aeebcd25dc73d79841e89c7705623ad60d59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a3e792ee2709bff8a5aa216919aeebcd25dc73d79841e89c7705623ad60d59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3e792ee2709bff8a5aa216919aeebcd25dc73d79841e89c7705623ad60d59f", kill_on_drop: false }` [INFO] [stdout] 5a3e792ee2709bff8a5aa216919aeebcd25dc73d79841e89c7705623ad60d59f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 922f130dcb5bf93c35a1c43276397b995412aa08517d9129ed1f634767873a02 [INFO] running `Command { std: "docker" "start" "-a" "922f130dcb5bf93c35a1c43276397b995412aa08517d9129ed1f634767873a02", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `token` and `message` are never read [INFO] [stdout] --> src/interpreter.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct InterpreterError<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 20 | pub token: Token<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub message: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpreterError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/interpreter.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | let name = function.name.lexeme.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.47s [INFO] running `Command { std: "docker" "inspect" "922f130dcb5bf93c35a1c43276397b995412aa08517d9129ed1f634767873a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "922f130dcb5bf93c35a1c43276397b995412aa08517d9129ed1f634767873a02", kill_on_drop: false }` [INFO] [stdout] 922f130dcb5bf93c35a1c43276397b995412aa08517d9129ed1f634767873a02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eb954ae51bd69b9bf7b8dc8e7c30ac46a741e0d3d4110be054708ee3d5f940e [INFO] running `Command { std: "docker" "start" "-a" "2eb954ae51bd69b9bf7b8dc8e7c30ac46a741e0d3d4110be054708ee3d5f940e", kill_on_drop: false }` [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `token` and `message` are never read [INFO] [stdout] --> src/interpreter.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct InterpreterError<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 20 | pub token: Token<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub message: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpreterError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/interpreter.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | let name = function.name.lexeme.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "2eb954ae51bd69b9bf7b8dc8e7c30ac46a741e0d3d4110be054708ee3d5f940e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eb954ae51bd69b9bf7b8dc8e7c30ac46a741e0d3d4110be054708ee3d5f940e", kill_on_drop: false }` [INFO] [stdout] 2eb954ae51bd69b9bf7b8dc8e7c30ac46a741e0d3d4110be054708ee3d5f940e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e822083f4b66b94edde41a63062d19f444379693b76516308adea255807489b [INFO] running `Command { std: "docker" "start" "-a" "4e822083f4b66b94edde41a63062d19f444379693b76516308adea255807489b", kill_on_drop: false }` [INFO] [stderr] warning: fields `token` and `message` are never read [INFO] [stderr] --> src/interpreter.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct InterpreterError<'a> { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 20 | pub token: Token<'a>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 21 | pub message: &'a str, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InterpreterError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/interpreter.rs:63:36 [INFO] [stderr] | [INFO] [stderr] 63 | let name = function.name.lexeme.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lox` (bin "lox" test) generated 2 warnings (run `cargo fix --bin "lox" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lox-b156206ff097c021) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test lexer::tests::empty_string ... ok [INFO] [stdout] test lexer::tests::string_multi_byte ... ok [INFO] [stdout] test lexer::tests::string ... ok [INFO] [stdout] test lexer::tests::string_with_escape_characters ... ok [INFO] [stdout] test lexer::tests::string_with_unicode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4e822083f4b66b94edde41a63062d19f444379693b76516308adea255807489b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e822083f4b66b94edde41a63062d19f444379693b76516308adea255807489b", kill_on_drop: false }` [INFO] [stdout] 4e822083f4b66b94edde41a63062d19f444379693b76516308adea255807489b