[INFO] cloning repository https://github.com/asimihsan/loxalot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asimihsan/loxalot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasimihsan%2Floxalot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasimihsan%2Floxalot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d7e407ebf0782b13c5045f2b186bc83a9e4043f [INFO] checking asimihsan/loxalot against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasimihsan%2Floxalot" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/asimihsan/loxalot [INFO] finished tweaking git repo https://github.com/asimihsan/loxalot [INFO] tweaked toml for git repo https://github.com/asimihsan/loxalot written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/asimihsan/loxalot on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/asimihsan/loxalot 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.16 [INFO] [stderr] Downloaded syn v1.0.89 [INFO] [stderr] Downloaded clap v3.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59b64e8bc525511611da2d4fa8db9f7919a20d294adc16e1fd7356127b53f981 [INFO] running `Command { std: "docker" "start" "-a" "59b64e8bc525511611da2d4fa8db9f7919a20d294adc16e1fd7356127b53f981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59b64e8bc525511611da2d4fa8db9f7919a20d294adc16e1fd7356127b53f981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59b64e8bc525511611da2d4fa8db9f7919a20d294adc16e1fd7356127b53f981", kill_on_drop: false }` [INFO] [stdout] 59b64e8bc525511611da2d4fa8db9f7919a20d294adc16e1fd7356127b53f981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9f387b861304477944d63e283c21acec5449e6045de9ca2b7cc95e90236243b [INFO] running `Command { std: "docker" "start" "-a" "c9f387b861304477944d63e283c21acec5449e6045de9ca2b7cc95e90236243b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking loxalot-scanning v0.1.0 (/opt/rustwide/workdir/lib/loxalot-scanning) [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking loxalot-cli v0.1.0 (/opt/rustwide/workdir/bin/loxalot-cli) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bin/loxalot-cli/src/main.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn run(content: String) -> Result<(), Box> { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> bin/loxalot-cli/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | fn run_file(file: std::path::PathBuf) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loxalot-cli` (bin "loxalot" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bin/loxalot-cli/src/main.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn run(content: String) -> Result<(), Box> { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> bin/loxalot-cli/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | fn run_file(file: std::path::PathBuf) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loxalot-cli` (bin "loxalot") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c9f387b861304477944d63e283c21acec5449e6045de9ca2b7cc95e90236243b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f387b861304477944d63e283c21acec5449e6045de9ca2b7cc95e90236243b", kill_on_drop: false }` [INFO] [stdout] c9f387b861304477944d63e283c21acec5449e6045de9ca2b7cc95e90236243b