[INFO] cloning repository https://github.com/dchaiken/Homonym [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dchaiken/Homonym" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdchaiken%2FHomonym", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdchaiken%2FHomonym'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbfc4a36d9a6d53108d764ebc0880a7f2751d319 [INFO] checking dchaiken/Homonym against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdchaiken%2FHomonym" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dchaiken/Homonym on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dchaiken/Homonym [INFO] finished tweaking git repo https://github.com/dchaiken/Homonym [INFO] tweaked toml for git repo https://github.com/dchaiken/Homonym written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/dchaiken/Homonym already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 307acd016a78cfde42b3ba30e86253be378ccb7d50fabedd15901edc12f1b9db [INFO] running `Command { std: "docker" "start" "-a" "307acd016a78cfde42b3ba30e86253be378ccb7d50fabedd15901edc12f1b9db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "307acd016a78cfde42b3ba30e86253be378ccb7d50fabedd15901edc12f1b9db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "307acd016a78cfde42b3ba30e86253be378ccb7d50fabedd15901edc12f1b9db", kill_on_drop: false }` [INFO] [stdout] 307acd016a78cfde42b3ba30e86253be378ccb7d50fabedd15901edc12f1b9db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2037f1797dcd3ac35ba4e3aee09c3f8efaadb689e9b53c82a53a4ae3c31f565 [INFO] running `Command { std: "docker" "start" "-a" "b2037f1797dcd3ac35ba4e3aee09c3f8efaadb689e9b53c82a53a4ae3c31f565", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking homonym_impl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Logos` [INFO] [stdout] --> src/HomonymParser.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use logos::{Lexer, Logos}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Logos` [INFO] [stdout] --> src/HomonymParser.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use logos::{Lexer, Logos}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/HomonymInterpreter.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn interpret_expr(expr: &Expression, context: &mut Context) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/HomonymInterpreter.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn interpret_expr(expr: &Expression, context: &mut Context) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/HomonymInterpreter.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn interpret_expr(expr: &Expression, context: &mut Context) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/HomonymInterpreter.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn interpret_expr(expr: &Expression, context: &mut Context) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/HomonymParser.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut variable_map: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/HomonymParser.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut function_map: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/HomonymParser.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut variable_map: HashMap> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/HomonymParser.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut function_map: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/HomonymParser.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | panic!("Binary operator at location {} is not accompanied by a type reference"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 110 | panic!("Binary operator at location {} is not accompanied by a type reference", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 110 | panic!("{}", "Binary operator at location {} is not accompanied by a type reference"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymInterpreter` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod HomonymInterpreter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_interpreter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymLexer` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod HomonymLexer; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymParser` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod HomonymParser; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymRepl` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod HomonymRepl; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_repl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymTypechecker` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod HomonymTypechecker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_typechecker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymUtils` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod HomonymUtils; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/HomonymParser.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | panic!("Binary operator at location {} is not accompanied by a type reference"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 110 | panic!("Binary operator at location {} is not accompanied by a type reference", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 110 | panic!("{}", "Binary operator at location {} is not accompanied by a type reference"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymInterpreter` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod HomonymInterpreter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_interpreter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymLexer` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod HomonymLexer; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymParser` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod HomonymParser; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymRepl` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod HomonymRepl; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_repl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymTypechecker` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod HomonymTypechecker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_typechecker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymUtils` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod HomonymUtils; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.08s [INFO] running `Command { std: "docker" "inspect" "b2037f1797dcd3ac35ba4e3aee09c3f8efaadb689e9b53c82a53a4ae3c31f565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2037f1797dcd3ac35ba4e3aee09c3f8efaadb689e9b53c82a53a4ae3c31f565", kill_on_drop: false }` [INFO] [stdout] b2037f1797dcd3ac35ba4e3aee09c3f8efaadb689e9b53c82a53a4ae3c31f565