[INFO] updating cached repository https://github.com/Johanneslueke/rust_echo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b566a30348fa2185f31dcab1653506e5b95b6c76 [INFO] testing Johanneslueke/rust_echo against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohanneslueke%2Frust_echo" "/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/Johanneslueke/rust_echo on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Johanneslueke/rust_echo [INFO] finished tweaking git repo https://github.com/Johanneslueke/rust_echo [INFO] tweaked toml for git repo https://github.com/Johanneslueke/rust_echo written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Johanneslueke/rust_echo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] 7c3df77c50db5c05dba336d9583eda2d3e1ee22b34c6385f8852e4f68abed67f [INFO] running `Command { std: "docker" "start" "-a" "7c3df77c50db5c05dba336d9583eda2d3e1ee22b34c6385f8852e4f68abed67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c3df77c50db5c05dba336d9583eda2d3e1ee22b34c6385f8852e4f68abed67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3df77c50db5c05dba336d9583eda2d3e1ee22b34c6385f8852e4f68abed67f", kill_on_drop: false }` [INFO] [stdout] 7c3df77c50db5c05dba336d9583eda2d3e1ee22b34c6385f8852e4f68abed67f [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78997afe7e419b08e30a8453b430a1babc28352af1ca2c3d018ea9dca4f551c0 [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" "78997afe7e419b08e30a8453b430a1babc28352af1ca2c3d018ea9dca4f551c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.31.2 (https://github.com/clap-rs/clap.git?rev=v2.31.2#07c15d28) [INFO] [stderr] Compiling echo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.06s [INFO] running `Command { std: "docker" "inspect" "78997afe7e419b08e30a8453b430a1babc28352af1ca2c3d018ea9dca4f551c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78997afe7e419b08e30a8453b430a1babc28352af1ca2c3d018ea9dca4f551c0", kill_on_drop: false }` [INFO] [stdout] 78997afe7e419b08e30a8453b430a1babc28352af1ca2c3d018ea9dca4f551c0 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a320075f67bad377c3e7c1b818917d7af2aca452c7906f8d262ffd4107e0f7bd [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" "a320075f67bad377c3e7c1b818917d7af2aca452c7906f8d262ffd4107e0f7bd", kill_on_drop: false }` [INFO] [stderr] Compiling echo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit-tests.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let input = echo("TestInput"); [INFO] [stdout] | ^^^^^^^^^^^ expected struct `clap::args::arg_matches::ArgMatches`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit-tests.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(input,"TestInput"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `echo`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a320075f67bad377c3e7c1b818917d7af2aca452c7906f8d262ffd4107e0f7bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a320075f67bad377c3e7c1b818917d7af2aca452c7906f8d262ffd4107e0f7bd", kill_on_drop: false }` [INFO] [stdout] a320075f67bad377c3e7c1b818917d7af2aca452c7906f8d262ffd4107e0f7bd