[INFO] cloning repository https://github.com/juliusrajala/rusty-toolkit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juliusrajala/rusty-toolkit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusrajala%2Frusty-toolkit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusrajala%2Frusty-toolkit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5747e691d9aef64934e6c18c4a693dcf622f37f5 [INFO] checking juliusrajala/rusty-toolkit against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusrajala%2Frusty-toolkit" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juliusrajala/rusty-toolkit on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/juliusrajala/rusty-toolkit [INFO] finished tweaking git repo https://github.com/juliusrajala/rusty-toolkit [INFO] tweaked toml for git repo https://github.com/juliusrajala/rusty-toolkit written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/juliusrajala/rusty-toolkit 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87586ef9982ea6d5260cbc390f8925ec9926517c08471990a516103ff44e32aa [INFO] running `Command { std: "docker" "start" "-a" "87586ef9982ea6d5260cbc390f8925ec9926517c08471990a516103ff44e32aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87586ef9982ea6d5260cbc390f8925ec9926517c08471990a516103ff44e32aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87586ef9982ea6d5260cbc390f8925ec9926517c08471990a516103ff44e32aa", kill_on_drop: false }` [INFO] [stdout] 87586ef9982ea6d5260cbc390f8925ec9926517c08471990a516103ff44e32aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8f1403737bcc4e6d7d2ba4e6227d040eb449e476679178aab8173852bb9ca92 [INFO] running `Command { std: "docker" "start" "-a" "a8f1403737bcc4e6d7d2ba4e6227d040eb449e476679178aab8173852bb9ca92", kill_on_drop: false }` [INFO] [stderr] Checking tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> src/filesys.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | if why.kind() == ErrorKind::NotFound { create_dir(&file_path); } [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use filesys::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> src/filesys.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | if why.kind() == ErrorKind::NotFound { create_dir(&file_path); } [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use filesys::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filesys.rs:19:63 [INFO] [stdout] | [INFO] [stdout] 19 | if why.kind() == ErrorKind::NotFound { create_dir(&file_path); } [INFO] [stdout] | ---------- ^^^^^^^^^^ expected `String`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/filesys.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn create_dir(target: String) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ -------------- [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 19 - if why.kind() == ErrorKind::NotFound { create_dir(&file_path); } [INFO] [stdout] 19 + if why.kind() == ErrorKind::NotFound { create_dir(file_path); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/filesys.rs:19:63 [INFO] [stdout] | [INFO] [stdout] 19 | if why.kind() == ErrorKind::NotFound { create_dir(&file_path); } [INFO] [stdout] | ---------- ^^^^^^^^^^ expected `String`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/filesys.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn create_dir(target: String) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ -------------- [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 19 - if why.kind() == ErrorKind::NotFound { create_dir(&file_path); } [INFO] [stdout] 19 + if why.kind() == ErrorKind::NotFound { create_dir(file_path); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/filesys.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut file = match fs::File::create(&path) { [INFO] [stdout] | ____________________- [INFO] [stdout] 18 | | Err(why) => { [INFO] [stdout] 19 | | if why.kind() == ErrorKind::NotFound { create_dir(&file_path); } [INFO] [stdout] | | ---------------------------------------------------------------- this is found to be of type `()` [INFO] [stdout] 20 | | }, [INFO] [stdout] 21 | | Ok(file) => file, [INFO] [stdout] | | ^^^^ expected `()`, found `File` [INFO] [stdout] 22 | | }; [INFO] [stdout] | |_____- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/filesys.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut file = match fs::File::create(&path) { [INFO] [stdout] | ____________________- [INFO] [stdout] 18 | | Err(why) => { [INFO] [stdout] 19 | | if why.kind() == ErrorKind::NotFound { create_dir(&file_path); } [INFO] [stdout] | | ---------------------------------------------------------------- this is found to be of type `()` [INFO] [stdout] 20 | | }, [INFO] [stdout] 21 | | Ok(file) => file, [INFO] [stdout] | | ^^^^ expected `()`, found `File` [INFO] [stdout] 22 | | }; [INFO] [stdout] | |_____- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/filesys.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/filesys.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tools` (bin "tools") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tools` (bin "tools" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a8f1403737bcc4e6d7d2ba4e6227d040eb449e476679178aab8173852bb9ca92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f1403737bcc4e6d7d2ba4e6227d040eb449e476679178aab8173852bb9ca92", kill_on_drop: false }` [INFO] [stdout] a8f1403737bcc4e6d7d2ba4e6227d040eb449e476679178aab8173852bb9ca92 [INFO] checking juliusrajala/rusty-toolkit against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliusrajala%2Frusty-toolkit" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juliusrajala/rusty-toolkit on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/juliusrajala/rusty-toolkit [INFO] finished tweaking git repo https://github.com/juliusrajala/rusty-toolkit [INFO] tweaked toml for git repo https://github.com/juliusrajala/rusty-toolkit written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/juliusrajala/rusty-toolkit 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1ac6613918196904c43750f5c97b3b8abaa89652f9c26550e06ec61b444395d [INFO] running `Command { std: "docker" "start" "-a" "f1ac6613918196904c43750f5c97b3b8abaa89652f9c26550e06ec61b444395d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1ac6613918196904c43750f5c97b3b8abaa89652f9c26550e06ec61b444395d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1ac6613918196904c43750f5c97b3b8abaa89652f9c26550e06ec61b444395d", kill_on_drop: false }` [INFO] [stdout] f1ac6613918196904c43750f5c97b3b8abaa89652f9c26550e06ec61b444395d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51a97004520e4377820af5ddce337352e113c0d1c082052fd675a8f656dd69ba [INFO] running `Command { std: "docker" "start" "-a" "51a97004520e4377820af5ddce337352e113c0d1c082052fd675a8f656dd69ba", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "51a97004520e4377820af5ddce337352e113c0d1c082052fd675a8f656dd69ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a97004520e4377820af5ddce337352e113c0d1c082052fd675a8f656dd69ba", kill_on_drop: false }` [INFO] [stdout] 51a97004520e4377820af5ddce337352e113c0d1c082052fd675a8f656dd69ba