[INFO] cloning repository https://github.com/lucasfcosta/echor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucasfcosta/echor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasfcosta%2Fechor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasfcosta%2Fechor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40fcfa1ee801197aeff88c7988e8525378866d75 [INFO] testing lucasfcosta/echor against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasfcosta%2Fechor" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lucasfcosta/echor on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lucasfcosta/echor [INFO] finished tweaking git repo https://github.com/lucasfcosta/echor [INFO] tweaked toml for git repo https://github.com/lucasfcosta/echor written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/lucasfcosta/echor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-tree v1.0.3 [INFO] [stderr] Downloaded assert_cmd v1.0.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 38b1ebe0427de33a05457c8ae310056efb8fb038a15be73e1dd5a71a0eabaab7 [INFO] running `Command { std: "docker" "start" "-a" "38b1ebe0427de33a05457c8ae310056efb8fb038a15be73e1dd5a71a0eabaab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38b1ebe0427de33a05457c8ae310056efb8fb038a15be73e1dd5a71a0eabaab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b1ebe0427de33a05457c8ae310056efb8fb038a15be73e1dd5a71a0eabaab7", kill_on_drop: false }` [INFO] [stdout] 38b1ebe0427de33a05457c8ae310056efb8fb038a15be73e1dd5a71a0eabaab7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6c632267b7d04d82752eca2621e8d14072e9e016456b238bd86131e11cbae89a [INFO] running `Command { std: "docker" "start" "-a" "6c632267b7d04d82752eca2621e8d14072e9e016456b238bd86131e11cbae89a", kill_on_drop: false }` [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling echor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.11s [INFO] running `Command { std: "docker" "inspect" "6c632267b7d04d82752eca2621e8d14072e9e016456b238bd86131e11cbae89a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c632267b7d04d82752eca2621e8d14072e9e016456b238bd86131e11cbae89a", kill_on_drop: false }` [INFO] [stdout] 6c632267b7d04d82752eca2621e8d14072e9e016456b238bd86131e11cbae89a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a140b2a0cab3f3744851be770f96bf19d421e983c22398f47790fe0e021ef10 [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" "0a140b2a0cab3f3744851be770f96bf19d421e983c22398f47790fe0e021ef10", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates-tree v1.0.3 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling predicates v2.0.2 [INFO] [stderr] Compiling assert_cmd v1.0.8 [INFO] [stderr] Compiling echor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Commang` [INFO] [stdout] --> tests/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Commang::cargo_bin("echor")? [INFO] [stdout] | ^^^^^^^ use of undeclared type `Commang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestResult` in this scope [INFO] [stdout] --> tests/cli.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | fn run(args: &[&str], expected_file: &str) -> TestResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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] --> tests/cli.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 16 | / fn dies_no_args() { [INFO] [stdout] 17 | | let cmd = Command::cargo_bin("echor")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 18 | | cmd.assert() [INFO] [stdout] 19 | | .failure() [INFO] [stdout] 20 | | .stderr(predicate::str::contains("USAGE")); [INFO] [stdout] 21 | | Ok(()) [INFO] [stdout] 22 | | } [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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/cli.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | fn dies_no_args() { [INFO] [stdout] | - possibly return type missing here? [INFO] [stdout] ... [INFO] [stdout] 21 | Ok(()) [INFO] [stdout] | ^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `echor` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0a140b2a0cab3f3744851be770f96bf19d421e983c22398f47790fe0e021ef10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a140b2a0cab3f3744851be770f96bf19d421e983c22398f47790fe0e021ef10", kill_on_drop: false }` [INFO] [stdout] 0a140b2a0cab3f3744851be770f96bf19d421e983c22398f47790fe0e021ef10