[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 try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdchaiken%2FHomonym" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dchaiken/Homonym on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94101a43c37cb1f25b799da2f50ab23896137563d21164a5b6e2747c54594351 [INFO] running `Command { std: "docker" "start" "-a" "94101a43c37cb1f25b799da2f50ab23896137563d21164a5b6e2747c54594351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94101a43c37cb1f25b799da2f50ab23896137563d21164a5b6e2747c54594351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94101a43c37cb1f25b799da2f50ab23896137563d21164a5b6e2747c54594351", kill_on_drop: false }` [INFO] [stdout] 94101a43c37cb1f25b799da2f50ab23896137563d21164a5b6e2747c54594351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a4f6156fd1bc68e1dc1e54b27aed05b78d9a388c60bd46794c0636ab86367a1 [INFO] running `Command { std: "docker" "start" "-a" "2a4f6156fd1bc68e1dc1e54b27aed05b78d9a388c60bd46794c0636ab86367a1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling beef v0.4.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] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [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: `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 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 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] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> src/HomonymLexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Logos, Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> src/HomonymLexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Logos, Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [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] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `homonym_impl` (bin "homonym_impl") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `homonym_impl` (bin "homonym_impl" test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a4f6156fd1bc68e1dc1e54b27aed05b78d9a388c60bd46794c0636ab86367a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4f6156fd1bc68e1dc1e54b27aed05b78d9a388c60bd46794c0636ab86367a1", kill_on_drop: false }` [INFO] [stdout] 2a4f6156fd1bc68e1dc1e54b27aed05b78d9a388c60bd46794c0636ab86367a1