[INFO] cloning repository https://github.com/marwanwae/belajar-rust-dasar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marwanwae/belajar-rust-dasar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarwanwae%2Fbelajar-rust-dasar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarwanwae%2Fbelajar-rust-dasar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb12873d971d541719b3f67cd1f56abbd381a248 [INFO] checking marwanwae/belajar-rust-dasar against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarwanwae%2Fbelajar-rust-dasar" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marwanwae/belajar-rust-dasar [INFO] finished tweaking git repo https://github.com/marwanwae/belajar-rust-dasar [INFO] tweaked toml for git repo https://github.com/marwanwae/belajar-rust-dasar written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marwanwae/belajar-rust-dasar on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marwanwae/belajar-rust-dasar 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14c164e20462a6f1f41c658d5f72491d24e7784179c5e49353a5cb217b28aa6e [INFO] running `Command { std: "docker" "start" "-a" "14c164e20462a6f1f41c658d5f72491d24e7784179c5e49353a5cb217b28aa6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14c164e20462a6f1f41c658d5f72491d24e7784179c5e49353a5cb217b28aa6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c164e20462a6f1f41c658d5f72491d24e7784179c5e49353a5cb217b28aa6e", kill_on_drop: false }` [INFO] [stdout] 14c164e20462a6f1f41c658d5f72491d24e7784179c5e49353a5cb217b28aa6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05c037bf3c950a4e9c89be6229b580f0b1440a19ede4e82d94522115b4e58b95 [INFO] running `Command { std: "docker" "start" "-a" "05c037bf3c950a4e9c89be6229b580f0b1440a19ede4e82d94522115b4e58b95", kill_on_drop: false }` [INFO] [stderr] Checking belajar-rust-dasar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BTreeMap` and `HashMap` [INFO] [stdout] --> src/main.rs:361:24 [INFO] [stdout] | [INFO] [stdout] 361 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unit` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn unit() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXIMUM` is never used [INFO] [stdout] --> src/main.rs:146:7 [INFO] [stdout] | [INFO] [stdout] 146 | const MAXIMUM: i64 = 1000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `say_hello` is never used [INFO] [stdout] --> src/main.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn say_hello() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `say_hello_name` is never used [INFO] [stdout] --> src/main.rs:262:4 [INFO] [stdout] | [INFO] [stdout] 262 | fn say_hello_name(first_name: String, last_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial_loop` is never used [INFO] [stdout] --> src/main.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | fn factorial_loop(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial_recursive` is never used [INFO] [stdout] --> src/main.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn factorial_recursive(n: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/main.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn first_word(s: &String) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/main.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | struct Person{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_person` is never used [INFO] [stdout] --> src/main.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn assign_person(first_name: &str, last_name: String, age: u8) -> Person { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_cache` is never used [INFO] [stdout] --> src/main.rs:409:4 [INFO] [stdout] | [INFO] [stdout] 409 | fn connect_cache(host: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "05c037bf3c950a4e9c89be6229b580f0b1440a19ede4e82d94522115b4e58b95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c037bf3c950a4e9c89be6229b580f0b1440a19ede4e82d94522115b4e58b95", kill_on_drop: false }` [INFO] [stdout] 05c037bf3c950a4e9c89be6229b580f0b1440a19ede4e82d94522115b4e58b95