[INFO] cloning repository https://github.com/woile/rslox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/woile/rslox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoile%2Frslox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoile%2Frslox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d1bcf3873154e36e376839b4dd6f579c5f7a887 [INFO] checking woile/rslox against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoile%2Frslox" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/woile/rslox on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/woile/rslox [INFO] finished tweaking git repo https://github.com/woile/rslox [INFO] tweaked toml for git repo https://github.com/woile/rslox written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/woile/rslox 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f14861fcf443d1451c1e7fff5820a0aa24d0073eeb8d8d6227ba52969109fd6f [INFO] running `Command { std: "docker" "start" "-a" "f14861fcf443d1451c1e7fff5820a0aa24d0073eeb8d8d6227ba52969109fd6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f14861fcf443d1451c1e7fff5820a0aa24d0073eeb8d8d6227ba52969109fd6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14861fcf443d1451c1e7fff5820a0aa24d0073eeb8d8d6227ba52969109fd6f", kill_on_drop: false }` [INFO] [stdout] f14861fcf443d1451c1e7fff5820a0aa24d0073eeb8d8d6227ba52969109fd6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 383cda472fa9a7e31a69d28902487c467ed3ca81e8cb87baa425cfc62a314188 [INFO] running `Command { std: "docker" "start" "-a" "383cda472fa9a7e31a69d28902487c467ed3ca81e8cb87baa425cfc62a314188", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking multipeek v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Checking clap v3.2.15 [INFO] [stderr] Checking lox-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `AstPrinter` is never constructed [INFO] [stdout] --> src/ast.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct AstPrinter; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parenthesize` is never used [INFO] [stdout] --> src/ast.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl AstPrinter { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 107 | fn parenthesize(&self, name: String, exprs: &[&Expr]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExprStmt` is never constructed [INFO] [stdout] --> src/statement.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ExprStmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AstPrinter` is never constructed [INFO] [stdout] --> src/ast.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct AstPrinter; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parenthesize` is never used [INFO] [stdout] --> src/ast.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl AstPrinter { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 107 | fn parenthesize(&self, name: String, exprs: &[&Expr]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExprStmt` is never constructed [INFO] [stdout] --> src/statement.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ExprStmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprStmt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::string::String` to `std::string::String` [INFO] [stdout] --> src/scanner.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | format!("Unexpected character {symbol}").into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::string::String` to `std::string::String` [INFO] [stdout] --> src/scanner.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | format!("Unexpected character {symbol}").into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lox-rs` (bin "lox-rs") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lox-rs` (bin "lox-rs" test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "383cda472fa9a7e31a69d28902487c467ed3ca81e8cb87baa425cfc62a314188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "383cda472fa9a7e31a69d28902487c467ed3ca81e8cb87baa425cfc62a314188", kill_on_drop: false }` [INFO] [stdout] 383cda472fa9a7e31a69d28902487c467ed3ca81e8cb87baa425cfc62a314188