[INFO] cloning repository https://github.com/WillTarte/gitfindr-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WillTarte/gitfindr-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillTarte%2Fgitfindr-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillTarte%2Fgitfindr-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1b46fc23e0934eb963ad21f430991caede759a2 [INFO] checking WillTarte/gitfindr-rs against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillTarte%2Fgitfindr-rs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WillTarte/gitfindr-rs on toolchain 05c8870159e4f328578a970e125aa76d24f03b56 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WillTarte/gitfindr-rs [INFO] finished tweaking git repo https://github.com/WillTarte/gitfindr-rs [INFO] tweaked toml for git repo https://github.com/WillTarte/gitfindr-rs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/WillTarte/gitfindr-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded directories v2.0.2 [INFO] [stderr] Downloaded confy v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc8083c6aa7fc41a335d450c272fce996793f7f74695071cbf3cfc781c27a6b0 [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" "fc8083c6aa7fc41a335d450c272fce996793f7f74695071cbf3cfc781c27a6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc8083c6aa7fc41a335d450c272fce996793f7f74695071cbf3cfc781c27a6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc8083c6aa7fc41a335d450c272fce996793f7f74695071cbf3cfc781c27a6b0", kill_on_drop: false }` [INFO] [stdout] fc8083c6aa7fc41a335d450c272fce996793f7f74695071cbf3cfc781c27a6b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 050a233b72ccff66273c39c853a0252663583766e9b20d65bb74ea7200d3960b [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" "050a233b72ccff66273c39c853a0252663583766e9b20d65bb74ea7200d3960b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking confy v0.4.0 [INFO] [stderr] Checking gitfindr-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 154 | ... todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 155 | ... fs::read_dir(dir_entry.path()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 154 | ... todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 155 | ... fs::read_dir(dir_entry.path()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 153 | / ... if meta.is_dir() { [INFO] [stdout] 154 | | ... todo!(); [INFO] [stdout] 155 | | ... fs::read_dir(dir_entry.path()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] 156 | | ... } [INFO] [stdout] | |_______________________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] help: try adding a semicolon [INFO] [stdout] | [INFO] [stdout] 155 | fs::read_dir(dir_entry.path()); [INFO] [stdout] | ^ [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 156 | }; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 153 | / ... if meta.is_dir() { [INFO] [stdout] 154 | | ... todo!(); [INFO] [stdout] 155 | | ... fs::read_dir(dir_entry.path()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] 156 | | ... } [INFO] [stdout] | |_______________________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] help: try adding a semicolon [INFO] [stdout] | [INFO] [stdout] 155 | fs::read_dir(dir_entry.path()); [INFO] [stdout] | ^ [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 156 | }; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gitfindr-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "050a233b72ccff66273c39c853a0252663583766e9b20d65bb74ea7200d3960b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "050a233b72ccff66273c39c853a0252663583766e9b20d65bb74ea7200d3960b", kill_on_drop: false }` [INFO] [stdout] 050a233b72ccff66273c39c853a0252663583766e9b20d65bb74ea7200d3960b