[INFO] cloning repository https://github.com/pdrolopes/crafting_interpreters [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pdrolopes/crafting_interpreters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrolopes%2Fcrafting_interpreters", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrolopes%2Fcrafting_interpreters'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce9c0d0da483c8628a484dfec4d6714a94f4d16b [INFO] checking pdrolopes/crafting_interpreters against master#0dce3f606e05cffab7361c132a399d3550ab0df8 for pr-78376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrolopes%2Fcrafting_interpreters" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pdrolopes/crafting_interpreters on toolchain 0dce3f606e05cffab7361c132a399d3550ab0df8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pdrolopes/crafting_interpreters [INFO] finished tweaking git repo https://github.com/pdrolopes/crafting_interpreters [INFO] tweaked toml for git repo https://github.com/pdrolopes/crafting_interpreters written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/pdrolopes/crafting_interpreters already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5c85d4cd7d66bea8f4783ed207f617c70cc503f80163e11e6a9cd6b6965ccb9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c5c85d4cd7d66bea8f4783ed207f617c70cc503f80163e11e6a9cd6b6965ccb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5c85d4cd7d66bea8f4783ed207f617c70cc503f80163e11e6a9cd6b6965ccb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c85d4cd7d66bea8f4783ed207f617c70cc503f80163e11e6a9cd6b6965ccb9", kill_on_drop: false }` [INFO] [stdout] c5c85d4cd7d66bea8f4783ed207f617c70cc503f80163e11e6a9cd6b6965ccb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fc1606e91f472300bdf8d1fccfcd4ac57224502c4912ff23b71a602cf96a27e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0fc1606e91f472300bdf8d1fccfcd4ac57224502c4912ff23b71a602cf96a27e", kill_on_drop: false }` [INFO] [stderr] Checking crafting_interpreters v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::ast_printer::ASTPrinter` [INFO] [stdout] --> src/lox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ast_printer::ASTPrinter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ast_printer::ASTPrinter` [INFO] [stdout] --> src/lox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ast_printer::ASTPrinter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/ast_printer.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | cond: &Expr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then_branch` [INFO] [stdout] --> src/ast_printer.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | then_branch: &Expr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_then_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_branch` [INFO] [stdout] --> src/ast_printer.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | else_branch: &Expr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> src/ast_printer.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | cond: &Expr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then_branch` [INFO] [stdout] --> src/ast_printer.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | then_branch: &Expr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_then_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_branch` [INFO] [stdout] --> src/ast_printer.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | else_branch: &Expr, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/ast_printer.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn print(&self, expr: &Expr) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `HAD_RUNTIME_ERROR` [INFO] [stdout] --> src/lox.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | static HAD_RUNTIME_ERROR: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | lox::run_file(args.last().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `HAD_RUNTIME_ERROR` [INFO] [stdout] --> src/lox.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | static HAD_RUNTIME_ERROR: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | lox::run_file(args.last().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "0fc1606e91f472300bdf8d1fccfcd4ac57224502c4912ff23b71a602cf96a27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc1606e91f472300bdf8d1fccfcd4ac57224502c4912ff23b71a602cf96a27e", kill_on_drop: false }` [INFO] [stdout] 0fc1606e91f472300bdf8d1fccfcd4ac57224502c4912ff23b71a602cf96a27e