[INFO] cloning repository https://github.com/vhgcuong/learn-basic-rust-overview
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vhgcuong/learn-basic-rust-overview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhgcuong%2Flearn-basic-rust-overview", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhgcuong%2Flearn-basic-rust-overview'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 145742348a79c09d28f392dff181267d838192de
[INFO] checking vhgcuong/learn-basic-rust-overview against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhgcuong%2Flearn-basic-rust-overview" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vhgcuong/learn-basic-rust-overview
[INFO] finished tweaking git repo https://github.com/vhgcuong/learn-basic-rust-overview
[INFO] tweaked toml for git repo https://github.com/vhgcuong/learn-basic-rust-overview written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vhgcuong/learn-basic-rust-overview on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vhgcuong/learn-basic-rust-overview 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 19b98594b2a1ecf2bb22ccb39d995f016e5e71238f0b11cff9e2cd7020056dc7
[INFO] running `Command { std: "docker" "start" "19b98594b2a1ecf2bb22ccb39d995f016e5e71238f0b11cff9e2cd7020056dc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "19b98594b2a1ecf2bb22ccb39d995f016e5e71238f0b11cff9e2cd7020056dc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "19b98594b2a1ecf2bb22ccb39d995f016e5e71238f0b11cff9e2cd7020056dc7" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "19b98594b2a1ecf2bb22ccb39d995f016e5e71238f0b11cff9e2cd7020056dc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "19b98594b2a1ecf2bb22ccb39d995f016e5e71238f0b11cff9e2cd7020056dc7" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking chacha20 v0.10.1
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]     Checking learn-basic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/bin/c1_fibonacci.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let result: Vec<u64> = fibonacci(1000);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> src/bin/c1_node.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Node {
[INFO] [stdout]   |        ---- field in this struct
[INFO] [stdout] 2 |     value: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/bin/c1_fibonacci.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let result: Vec<u64> = fibonacci(1000);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> src/bin/c1_node.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Node {
[INFO] [stdout]   |        ---- field in this struct
[INFO] [stdout] 2 |     value: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `user_id` in this scope
[INFO] [stdout]   --> src/bin/billion_dollar_mistake.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     match find_user(user_id) {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `user_id` in this scope
[INFO] [stdout]   --> src/bin/billion_dollar_mistake.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     match find_user(user_id) {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `User: Clone` is not satisfied
[INFO] [stdout]   --> src/bin/billion_dollar_mistake.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |     users.get(&user_id).cloned()
[INFO] [stdout]    |                         ^^^^^^ the trait `Clone` is not implemented for `User`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `Option::<&T>::cloned`
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/option.rs:2162:4
[INFO] [stdout] help: consider annotating `User` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout]  4 + #[derive(Clone)]
[INFO] [stdout]  5 | struct User { 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn-basic` (bin "billion_dollar_mistake" test) due to 2 previous errors
[INFO] [stdout] error[E0277]: the trait bound `User: Clone` is not satisfied
[INFO] [stdout]   --> src/bin/billion_dollar_mistake.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |     users.get(&user_id).cloned()
[INFO] [stdout]    |                         ^^^^^^ the trait `Clone` is not implemented for `User`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `Option::<&T>::cloned`
[INFO] [stdout]   --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/option.rs:2162:4
[INFO] [stdout] help: consider annotating `User` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout]  4 + #[derive(Clone)]
[INFO] [stdout]  5 | struct User { 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn-basic` (bin "billion_dollar_mistake") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "19b98594b2a1ecf2bb22ccb39d995f016e5e71238f0b11cff9e2cd7020056dc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19b98594b2a1ecf2bb22ccb39d995f016e5e71238f0b11cff9e2cd7020056dc7", kill_on_drop: false }`
[INFO] [stdout] 19b98594b2a1ecf2bb22ccb39d995f016e5e71238f0b11cff9e2cd7020056dc7
