[INFO] cloning repository https://github.com/zx9w/old-rust-homework
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zx9w/old-rust-homework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzx9w%2Fold-rust-homework", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzx9w%2Fold-rust-homework'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d70dc616dbbf236976426810837a9576c5eaa1be
[INFO] checking zx9w/old-rust-homework against try#09eeb2bacb9b40b2ed1d47f03177442c0632cda1 for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzx9w%2Fold-rust-homework" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zx9w/old-rust-homework
[INFO] finished tweaking git repo https://github.com/zx9w/old-rust-homework
[INFO] tweaked toml for git repo https://github.com/zx9w/old-rust-homework written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zx9w/old-rust-homework on toolchain 09eeb2bacb9b40b2ed1d47f03177442c0632cda1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zx9w/old-rust-homework 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" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 406fe950e2da04ba6d3c33826c8f1506c71bc493b45a55a2ad19eece1da47ee3
[INFO] running `Command { std: "docker" "start" "406fe950e2da04ba6d3c33826c8f1506c71bc493b45a55a2ad19eece1da47ee3", 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" "406fe950e2da04ba6d3c33826c8f1506c71bc493b45a55a2ad19eece1da47ee3" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "406fe950e2da04ba6d3c33826c8f1506c71bc493b45a55a2ad19eece1da47ee3", 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" "406fe950e2da04ba6d3c33826c8f1506c71bc493b45a55a2ad19eece1da47ee3" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_os v0.1.2
[INFO] [stderr]     Checking vika5 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `h1`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let h1 = vec![195, 204, 395, 409, 595, 618,795,836,995,1072,1195,1344,1395];
[INFO] [stdout]   |         ^^ help: if this is intentional, prefix it with an underscore: `_h1`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/main.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut x: f64 = 0.0;
[INFO] [stdout]    |                      ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 40 |         x = SmallRng::from_entropy().sample(Open01);
[INFO] [stdout]    |         ------------------------------------------- `x` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h1`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let h1 = vec![195, 204, 395, 409, 595, 618,795,836,995,1072,1195,1344,1395];
[INFO] [stdout]   |         ^^ help: if this is intentional, prefix it with an underscore: `_h1`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_hotels` is never used
[INFO] [stdout]   --> src/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn generate_hotels(n: usize) -> Vec<i64> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/main.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut x: f64 = 0.0;
[INFO] [stdout]    |                      ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 40 |         x = SmallRng::from_entropy().sample(Open01);
[INFO] [stdout]    |         ------------------------------------------- `x` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_hotels` is never used
[INFO] [stdout]   --> src/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn generate_hotels(n: usize) -> Vec<i64> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.94s
[INFO] running `Command { std: "docker" "inspect" "406fe950e2da04ba6d3c33826c8f1506c71bc493b45a55a2ad19eece1da47ee3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "406fe950e2da04ba6d3c33826c8f1506c71bc493b45a55a2ad19eece1da47ee3", kill_on_drop: false }`
[INFO] [stdout] 406fe950e2da04ba6d3c33826c8f1506c71bc493b45a55a2ad19eece1da47ee3
