[INFO] cloning repository https://github.com/Shrekie/cqfile [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shrekie/cqfile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShrekie%2Fcqfile", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShrekie%2Fcqfile'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 19615d4ac31bfd93f00a57856f5950f2b4bf9dce [INFO] checking Shrekie/cqfile against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShrekie%2Fcqfile" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shrekie/cqfile on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shrekie/cqfile [INFO] finished tweaking git repo https://github.com/Shrekie/cqfile [INFO] tweaked toml for git repo https://github.com/Shrekie/cqfile written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/Shrekie/cqfile already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa27a26c097229dcb50c9a057e1a8782b3035a0d614d0851510b7246d0af7816 [INFO] running `Command { std: "docker" "start" "-a" "fa27a26c097229dcb50c9a057e1a8782b3035a0d614d0851510b7246d0af7816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa27a26c097229dcb50c9a057e1a8782b3035a0d614d0851510b7246d0af7816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa27a26c097229dcb50c9a057e1a8782b3035a0d614d0851510b7246d0af7816", kill_on_drop: false }` [INFO] [stdout] fa27a26c097229dcb50c9a057e1a8782b3035a0d614d0851510b7246d0af7816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27a2caae8bb1284b8983e707188eb63a1c82f6b22d6d8cae23df0845384fbbe7 [INFO] running `Command { std: "docker" "start" "-a" "27a2caae8bb1284b8983e707188eb63a1c82f6b22d6d8cae23df0845384fbbe7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cqfile v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (8 fixes) [INFO] [stdout] warning: associated function is never used: `parts` [INFO] [stdout] --> src/terminal.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | fn parts(&self) -> (&String, &String, &String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scanner` [INFO] [stdout] --> src/lib.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let query = scanner::encode(&input); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scanner` [INFO] [stdout] --> src/lib.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let file_contents = scanner::read(&query.filename); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Invoker` [INFO] [stdout] --> src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let mut invoker = Invoker::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::terminal::Invoker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Search` [INFO] [stdout] --> src/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let search = Search::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use crate::terminal::expression::Search; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0277]: can't compare `{integer}` with `terminal::expression::Sum` [INFO] [stdout] --> src/terminal/expression.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(s) => assert_eq!(2, *s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no implementation for `{integer} == terminal::expression::Sum` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `{integer}` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `terminal::expression::Sum` doesn't implement `Debug` [INFO] [stdout] --> src/terminal/expression.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(s) => assert_eq!(2, *s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `terminal::expression::Sum` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `terminal::expression::Sum` [INFO] [stdout] = note: add `#[derive(Debug)]` to `terminal::expression::Sum` or manually `impl Debug for terminal::expression::Sum` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cqfile` due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use terminal::expression::Command; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | invoker.enable("count", &counts); [INFO] [stdout] | ^^^^^^^ expected struct `Search`, found struct `cqfile::terminal::expression::Count` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Search` [INFO] [stdout] found reference `&cqfile::terminal::expression::Count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `operate` found for reference `&Search` in the current scope [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | let result = command.operate(&query.argument, &file_contents); [INFO] [stdout] | ^^^^^^^ method not found in `&Search` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use cqfile::terminal::expression::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use terminal::expression::Command; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | invoker.enable("count", &counts); [INFO] [stdout] | ^^^^^^^ expected struct `Search`, found struct `cqfile::terminal::expression::Count` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Search` [INFO] [stdout] found reference `&cqfile::terminal::expression::Count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `operate` found for reference `&Search` in the current scope [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | let result = command.operate(&query.argument, &file_contents); [INFO] [stdout] | ^^^^^^^ method not found in `&Search` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use cqfile::terminal::expression::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "27a2caae8bb1284b8983e707188eb63a1c82f6b22d6d8cae23df0845384fbbe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a2caae8bb1284b8983e707188eb63a1c82f6b22d6d8cae23df0845384fbbe7", kill_on_drop: false }` [INFO] [stdout] 27a2caae8bb1284b8983e707188eb63a1c82f6b22d6d8cae23df0845384fbbe7