[INFO] cloning repository https://github.com/gyng/rust-primer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gyng/rust-primer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-primer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-primer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed24db7d18d5c614ab80a44a1f34288f101769b0 [INFO] testing gyng/rust-primer against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-primer" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyng/rust-primer on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gyng/rust-primer [INFO] finished tweaking git repo https://github.com/gyng/rust-primer [INFO] tweaked toml for git repo https://github.com/gyng/rust-primer written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/gyng/rust-primer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab965eab6ea3b9a2d8cc33d2efae6b4c4fb1afd62b1884d616b108af64e6d527 [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" "ab965eab6ea3b9a2d8cc33d2efae6b4c4fb1afd62b1884d616b108af64e6d527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab965eab6ea3b9a2d8cc33d2efae6b4c4fb1afd62b1884d616b108af64e6d527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab965eab6ea3b9a2d8cc33d2efae6b4c4fb1afd62b1884d616b108af64e6d527", kill_on_drop: false }` [INFO] [stdout] ab965eab6ea3b9a2d8cc33d2efae6b4c4fb1afd62b1884d616b108af64e6d527 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] b027e995a2f2584a8e555ab9f261d8afd4061c3968f6346695b6855d429d8ff4 [INFO] running `Command { std: "docker" "start" "-a" "b027e995a2f2584a8e555ab9f261d8afd4061c3968f6346695b6855d429d8ff4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling structs-exercise v0.1.0 (/opt/rustwide/workdir/02-basics/exercise) [INFO] [stderr] Compiling exercise-generics v0.1.0 (/opt/rustwide/workdir/04-generics-traits/exercise) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> 02-basics/exercise/src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let x: u8 = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> 02-basics/exercise/src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let xs = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `?` [INFO] [stdout] --> 04-generics-traits/exercise/src/main.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let mut map: HashMap<&str, ???> = HashMap::new(); [INFO] [stdout] | -------- ^ expected identifier [INFO] [stdout] | | | [INFO] [stdout] | | help: use `=` if you meant to assign [INFO] [stdout] | while parsing the type for `mut map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,` [INFO] [stdout] --> 04-generics-traits/exercise/src/main.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | let mut map: HashMap<&str, ???> = HashMap::new(); [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mutability` [INFO] [stdout] --> 02-basics/exercise/src/main.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn mutability() -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `casting` [INFO] [stdout] --> 02-basics/exercise/src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn casting() -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `collections` [INFO] [stdout] --> 02-basics/exercise/src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn collections() -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> 04-generics-traits/exercise/src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercise-generics` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b027e995a2f2584a8e555ab9f261d8afd4061c3968f6346695b6855d429d8ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b027e995a2f2584a8e555ab9f261d8afd4061c3968f6346695b6855d429d8ff4", kill_on_drop: false }` [INFO] [stdout] b027e995a2f2584a8e555ab9f261d8afd4061c3968f6346695b6855d429d8ff4