[INFO] cloning repository https://github.com/hayapo/Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hayapo/Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhayapo%2FRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhayapo%2FRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ad9324dfd81b69999f7efda8f3cff8c964827da [INFO] checking hayapo/Rust against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhayapo%2FRust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hayapo/Rust on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hayapo/Rust [INFO] finished tweaking git repo https://github.com/hayapo/Rust [INFO] tweaked toml for git repo https://github.com/hayapo/Rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/hayapo/Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6dc60989fea7d2e23bb572d1ac05a8fa236f1c2b221933a7a4307771fae70e0 [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" "e6dc60989fea7d2e23bb572d1ac05a8fa236f1c2b221933a7a4307771fae70e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6dc60989fea7d2e23bb572d1ac05a8fa236f1c2b221933a7a4307771fae70e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6dc60989fea7d2e23bb572d1ac05a8fa236f1c2b221933a7a4307771fae70e0", kill_on_drop: false }` [INFO] [stdout] e6dc60989fea7d2e23bb572d1ac05a8fa236f1c2b221933a7a4307771fae70e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--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] 41169c41f4aa82631391a4350d95c6129134ce8d906c2867ad1583db1317dfa4 [INFO] running `Command { std: "docker" "start" "-a" "41169c41f4aa82631391a4350d95c6129134ce8d906c2867ad1583db1317dfa4", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking Rust_Learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/slice.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let word = first_word(&my_string[..]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/slice.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let word = first_word(&my_string_literal[..]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Coin` [INFO] [stdout] --> src/bin/match.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `value_in_cents` [INFO] [stdout] --> src/bin/match.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn value_in_cents(coin: Coin) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `match` [INFO] [stdout] --> src/bin/match.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / enum Coin { [INFO] [stdout] 2 | | Penny, [INFO] [stdout] 3 | | Nickel, [INFO] [stdout] 4 | | Dime, [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/bin/match.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust_Learning` [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/slice.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let word = first_word(&my_string[..]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/slice.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let word = first_word(&my_string_literal[..]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "41169c41f4aa82631391a4350d95c6129134ce8d906c2867ad1583db1317dfa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41169c41f4aa82631391a4350d95c6129134ce8d906c2867ad1583db1317dfa4", kill_on_drop: false }` [INFO] [stdout] 41169c41f4aa82631391a4350d95c6129134ce8d906c2867ad1583db1317dfa4