[INFO] cloning repository https://github.com/cscenter/rbc-09-collections-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cscenter/rbc-09-collections-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcscenter%2Frbc-09-collections-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcscenter%2Frbc-09-collections-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eba1c5d48e29dc2c3972239e5cd83f5c22988244 [INFO] testing cscenter/rbc-09-collections-template against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcscenter%2Frbc-09-collections-template" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cscenter/rbc-09-collections-template [INFO] finished tweaking git repo https://github.com/cscenter/rbc-09-collections-template [INFO] tweaked toml for git repo https://github.com/cscenter/rbc-09-collections-template written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cscenter/rbc-09-collections-template on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cscenter/rbc-09-collections-template 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b8df71ca26587d4b11dc8794909a2c1e89ce643c81d19a92bcfb63253e30d04 [INFO] running `Command { std: "docker" "start" "-a" "8b8df71ca26587d4b11dc8794909a2c1e89ce643c81d19a92bcfb63253e30d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b8df71ca26587d4b11dc8794909a2c1e89ce643c81d19a92bcfb63253e30d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8df71ca26587d4b11dc8794909a2c1e89ce643c81d19a92bcfb63253e30d04", kill_on_drop: false }` [INFO] [stdout] 8b8df71ca26587d4b11dc8794909a2c1e89ce643c81d19a92bcfb63253e30d04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25110735127f4bdd279b887f1d533caeed32ba5cb2ea518d5cb424b0aede8d56 [INFO] running `Command { std: "docker" "start" "-a" "25110735127f4bdd279b887f1d533caeed32ba5cb2ea518d5cb424b0aede8d56", kill_on_drop: false }` [INFO] [stderr] Compiling rbc-09-collections-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `else`, or an operator, found `!` [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(chars_not_0, String::from("2468112141618")); [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `even_numbers` in this scope [INFO] [stdout] --> src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(even_numbers, vec!["2", "4", "6", "8", "100", "102", "104", "106", "108"]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not an iterator [INFO] [stdout] --> src/main.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn create_nums(range: Range) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `()` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(even_numbers, vec!["2", "4", "6", "8", "100", "102", "104", "106", "108"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0317, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rbc-09-collections-template` (bin "rbc-09-collections-template") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "25110735127f4bdd279b887f1d533caeed32ba5cb2ea518d5cb424b0aede8d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25110735127f4bdd279b887f1d533caeed32ba5cb2ea518d5cb424b0aede8d56", kill_on_drop: false }` [INFO] [stdout] 25110735127f4bdd279b887f1d533caeed32ba5cb2ea518d5cb424b0aede8d56