[INFO] cloning repository https://github.com/JimKat-1/QIShort [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JimKat-1/QIShort" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJimKat-1%2FQIShort", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJimKat-1%2FQIShort'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4e77b4e4bf5c723dbdb2404ea1fe98af8f8c34e [INFO] checking JimKat-1/QIShort against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJimKat-1%2FQIShort" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JimKat-1/QIShort 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/JimKat-1/QIShort [INFO] finished tweaking git repo https://github.com/JimKat-1/QIShort [INFO] tweaked toml for git repo https://github.com/JimKat-1/QIShort written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/JimKat-1/QIShort 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 50a3137929d2253af8a764730cccca02b56c6e2e35f7ace18becd8d2b3c767db [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" "50a3137929d2253af8a764730cccca02b56c6e2e35f7ace18becd8d2b3c767db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50a3137929d2253af8a764730cccca02b56c6e2e35f7ace18becd8d2b3c767db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a3137929d2253af8a764730cccca02b56c6e2e35f7ace18becd8d2b3c767db", kill_on_drop: false }` [INFO] [stdout] 50a3137929d2253af8a764730cccca02b56c6e2e35f7ace18becd8d2b3c767db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 00ab8f2554c7e0d1c1252885e353c6f69df17d387f6c990eca55d6e02eefb262 [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" "00ab8f2554c7e0d1c1252885e353c6f69df17d387f6c990eca55d6e02eefb262", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling qishort v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused import: `crate::key::Key` [INFO] [stdout] --> src/handler/tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::key::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree::*` [INFO] [stdout] --> src/handler/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tree::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lazy_static::lazy_static` [INFO] [stdout] --> src/handler/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(entries) [INFO] [stdout] | ^^^^^^^ expected struct `OsString`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let mut dirent = get_dir_entries(dir)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Path`, found struct `PathBuf` [INFO] [stdout] | help: consider borrowing here: `&dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/handler/dir.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 47 | / fn fill_tree_from_dir(dir: PathBuf, tree: &mut Tree) { [INFO] [stdout] 48 | | let mut dirent = get_dir_entries(dir)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | for i in dirent { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | fill_tree_from_dir(dir, tree); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected mutable reference, found struct `HashMap` [INFO] [stdout] | help: consider mutably borrowing here: `&mut tree` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut HashMap` [INFO] [stdout] found struct `HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | tree.insert(i, TreeEntry::Tree(tree)); [INFO] [stdout] | ^ expected struct `String`, found struct `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | tree.insert(i, TreeEntry::Func(Func {})); [INFO] [stdout] | ^ expected struct `String`, found struct `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot construct `tree::Func` with struct literal syntax due to inaccessible fields [INFO] [stdout] --> src/handler/dir.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | tree.insert(i, TreeEntry::Func(Func {})); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qishort` due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `crate::key::Key` [INFO] [stdout] --> src/handler/tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::key::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree::*` [INFO] [stdout] --> src/handler/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tree::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lazy_static::lazy_static` [INFO] [stdout] --> src/handler/dir.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(entries) [INFO] [stdout] | ^^^^^^^ expected struct `OsString`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let mut dirent = get_dir_entries(dir)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Path`, found struct `PathBuf` [INFO] [stdout] | help: consider borrowing here: `&dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/handler/dir.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 47 | / fn fill_tree_from_dir(dir: PathBuf, tree: &mut Tree) { [INFO] [stdout] 48 | | let mut dirent = get_dir_entries(dir)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | for i in dirent { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | fill_tree_from_dir(dir, tree); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected mutable reference, found struct `HashMap` [INFO] [stdout] | help: consider mutably borrowing here: `&mut tree` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut HashMap` [INFO] [stdout] found struct `HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | tree.insert(i, TreeEntry::Tree(tree)); [INFO] [stdout] | ^ expected struct `String`, found struct `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/dir.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | tree.insert(i, TreeEntry::Func(Func {})); [INFO] [stdout] | ^ expected struct `String`, found struct `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot construct `tree::Func` with struct literal syntax due to inaccessible fields [INFO] [stdout] --> src/handler/dir.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | tree.insert(i, TreeEntry::Func(Func {})); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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" "00ab8f2554c7e0d1c1252885e353c6f69df17d387f6c990eca55d6e02eefb262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ab8f2554c7e0d1c1252885e353c6f69df17d387f6c990eca55d6e02eefb262", kill_on_drop: false }` [INFO] [stdout] 00ab8f2554c7e0d1c1252885e353c6f69df17d387f6c990eca55d6e02eefb262