[INFO] cloning repository https://github.com/Ruin0x11/yeek [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ruin0x11/yeek" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRuin0x11%2Fyeek", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRuin0x11%2Fyeek'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5afce5fc4d72a20eb8bd848168c610e2150500b0 [INFO] checking Ruin0x11/yeek against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRuin0x11%2Fyeek" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ruin0x11/yeek on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ruin0x11/yeek [INFO] finished tweaking git repo https://github.com/Ruin0x11/yeek [INFO] tweaked toml for git repo https://github.com/Ruin0x11/yeek written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ruin0x11/yeek 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.124 [INFO] [stderr] Downloaded full_moon_derive v0.5.0 [INFO] [stderr] Downloaded ctor v0.1.19 [INFO] [stderr] Downloaded bytecount v0.5.1 [INFO] [stderr] Downloaded derive_more v0.99.11 [INFO] [stderr] Downloaded full_moon v0.9.0 [INFO] [stderr] Downloaded terminal_size v0.1.16 [INFO] [stderr] Downloaded lexical-core v0.7.5 [INFO] [stderr] Downloaded libc v0.2.89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db9ff06fc139bb4a09e369ab969cc75179536001ba8d4effcceeabc3e27167c5 [INFO] running `Command { std: "docker" "start" "-a" "db9ff06fc139bb4a09e369ab969cc75179536001ba8d4effcceeabc3e27167c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db9ff06fc139bb4a09e369ab969cc75179536001ba8d4effcceeabc3e27167c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db9ff06fc139bb4a09e369ab969cc75179536001ba8d4effcceeabc3e27167c5", kill_on_drop: false }` [INFO] [stdout] db9ff06fc139bb4a09e369ab969cc75179536001ba8d4effcceeabc3e27167c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4e190a3ed35398e4768b435f42e88eb494969544eeda62ed326d3e2dc5cc158 [INFO] running `Command { std: "docker" "start" "-a" "f4e190a3ed35398e4768b435f42e88eb494969544eeda62ed326d3e2dc5cc158", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking bytecount v0.5.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling full_moon_derive v0.5.0 [INFO] [stderr] Checking full_moon v0.9.0 [INFO] [stderr] Checking yeek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `full_moon` is imported redundantly [INFO] [stdout] --> src/detect.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | use full_moon; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate full_moon; [INFO] [stdout] | ----------------------- the item `full_moon` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `walkdir` is imported redundantly [INFO] [stdout] --> src/util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use walkdir; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate walkdir; [INFO] [stdout] | --------------------- the item `walkdir` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `full_moon` is imported redundantly [INFO] [stdout] --> src/move_module.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | use full_moon; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate full_moon; [INFO] [stdout] | ----------------------- the item `full_moon` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/move_module.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 166 | use crate::move_module::*; [INFO] [stdout] | --------------------- the item `PathBuf` is already imported here [INFO] [stdout] 167 | use full_moon; [INFO] [stdout] 168 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `full_moon` is imported redundantly [INFO] [stdout] --> src/refactor.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | use full_moon; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate full_moon; [INFO] [stdout] | ----------------------- the item `full_moon` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/refactor.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 430 | use crate::refactor::*; [INFO] [stdout] | ------------------ the item `PathBuf` is already imported here [INFO] [stdout] 431 | use full_moon; [INFO] [stdout] 432 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `full_moon` is imported redundantly [INFO] [stdout] --> src/rename_module.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | use full_moon; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate full_moon; [INFO] [stdout] | ----------------------- the item `full_moon` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/rename_module.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 358 | use crate::rename_module::*; [INFO] [stdout] | ----------------------- the item `PathBuf` is already imported here [INFO] [stdout] 359 | use full_moon; [INFO] [stdout] 360 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `walkdir` is imported redundantly [INFO] [stdout] --> src/util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use walkdir; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate walkdir; [INFO] [stdout] | --------------------- the item `walkdir` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block` is never read [INFO] [stdout] --> src/ast_util/scopes.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 52 | block: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `write_expr` and `write` are never read [INFO] [stdout] --> src/ast_util/scopes.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Reference { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | pub write_expr: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | pub read: bool, [INFO] [stdout] 65 | pub write: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shadowed` is never read [INFO] [stdout] --> src/ast_util/scopes.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub shadowed: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rename_module.rs:396:71 [INFO] [stdout] | [INFO] [stdout] 396 | assert!(result.warnings.iter().any(|w| w.message == warning), format!("\n{:?}", result.warnings)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 396 - assert!(result.warnings.iter().any(|w| w.message == warning), format!("\n{:?}", result.warnings)); [INFO] [stdout] 396 + assert!(result.warnings.iter().any(|w| w.message == warning), "\n{:?}", result.warnings); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block` is never read [INFO] [stdout] --> src/ast_util/scopes.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 52 | block: Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `write_expr` and `write` are never read [INFO] [stdout] --> src/ast_util/scopes.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Reference { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | pub write_expr: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | pub read: bool, [INFO] [stdout] 65 | pub write: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reference` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shadowed` is never read [INFO] [stdout] --> src/ast_util/scopes.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub shadowed: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: full_moon v0.9.0, nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "f4e190a3ed35398e4768b435f42e88eb494969544eeda62ed326d3e2dc5cc158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e190a3ed35398e4768b435f42e88eb494969544eeda62ed326d3e2dc5cc158", kill_on_drop: false }` [INFO] [stdout] f4e190a3ed35398e4768b435f42e88eb494969544eeda62ed326d3e2dc5cc158