[INFO] cloning repository https://github.com/i10416/minituna.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/i10416/minituna.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi10416%2Fminituna.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi10416%2Fminituna.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 43a272756759087efcf90baee39449e7db59d358
[INFO] checking i10416/minituna.rs against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi10416%2Fminituna.rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/i10416/minituna.rs
[INFO] finished tweaking git repo https://github.com/i10416/minituna.rs
[INFO] tweaked toml for git repo https://github.com/i10416/minituna.rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/i10416/minituna.rs on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/i10416/minituna.rs 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid v1.0.0-alpha.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 32d51f1515479c4c1a27c41772813d96e95a89d2d3106e9c4949cba146e4c2b7
[INFO] running `Command { std: "docker" "start" "-a" "32d51f1515479c4c1a27c41772813d96e95a89d2d3106e9c4949cba146e4c2b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "32d51f1515479c4c1a27c41772813d96e95a89d2d3106e9c4949cba146e4c2b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32d51f1515479c4c1a27c41772813d96e95a89d2d3106e9c4949cba146e4c2b7", kill_on_drop: false }`
[INFO] [stdout] 32d51f1515479c4c1a27c41772813d96e95a89d2d3106e9c4949cba146e4c2b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43ea9837a09748c7d860c9718c3fbea4192269d9b6b173e32c6465a192c1af37
[INFO] running `Command { std: "docker" "start" "-a" "43ea9837a09748c7d860c9718c3fbea4192269d9b6b173e32c6465a192c1af37", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.84
[INFO] [stderr]     Checking crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling serde v1.0.132
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]     Checking uuid v1.0.0-alpha.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking rayon-core v1.9.1
[INFO] [stderr]     Checking rayon v1.5.1
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling serde_derive v1.0.132
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]     Checking futures-util v0.3.19
[INFO] [stderr]     Checking futures-executor v0.3.19
[INFO] [stderr]     Checking futures v0.3.19
[INFO] [stderr]     Checking minituna v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/study.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     use uuid::Uuid;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `storage::InmemoryStorage`
[INFO] [stdout]   --> src/study.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 96 |     use crate::{sampler::Sampler, storage::InmemoryStorage};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trial_data`
[INFO] [stdout]   --> src/storage.rs:62:25
[INFO] [stdout]    |
[INFO] [stdout] 62 |             if let Some(trial_data) = hm.get(&trial_id) {
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trial_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trials`
[INFO] [stdout]   --> src/storage.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 |             let trials = hm.values();
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_trials`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/storage.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let it = &mut *self.underlying.lock().await;
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/storage.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let s = serde_json::to_string(&data).unwrap();
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/storage.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let it = &mut *self.underlying.lock().await;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/storage.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let s = serde_json::to_string(&data).unwrap();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Sampler` is never used
[INFO] [stdout]  --> src/sampler.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Sampler {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Storage` is never used
[INFO] [stdout]   --> src/storage.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Storage {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InmemoryStorage` is never constructed
[INFO] [stdout]   --> src/storage.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct InmemoryStorage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `instance` and `new` are never used
[INFO] [stdout]   --> src/storage.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl InmemoryStorage {
[INFO] [stdout]    | -------------------- associated functions in this implementation
[INFO] [stdout] 40 |     fn instance() -> &'static Mutex<HashMap<Uuid, Box<HashMap<usize, String>>>> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Study` is never used
[INFO] [stdout]   --> src/study.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait Study<T: Storage + 'static, R: PartialOrd> {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StudyInstance` is never constructed
[INFO] [stdout]   --> src/study.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct StudyInstance<T: Storage> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/study.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl StudyInstance<InmemoryStorage>{
[INFO] [stdout]    | ----------------------------------- associated function in this implementation
[INFO] [stdout] 85 |     fn new() ->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/study.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 |     async fn test() {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trial` is never constructed
[INFO] [stdout]   --> src/trial.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Trial<T: Storage> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/trial.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Trial<InmemoryStorage> {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 24 |     pub(crate) fn new(study_id: Uuid, trial_id: usize) -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TrialData` is never used
[INFO] [stdout]  --> src/frozen_trial.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum TrialData<V> {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ParamData` is never constructed
[INFO] [stdout]   --> src/frozen_trial.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ParamData<T> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/study.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     use uuid::Uuid;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `storage::InmemoryStorage`
[INFO] [stdout]   --> src/study.rs:96:35
[INFO] [stdout]    |
[INFO] [stdout] 96 |     use crate::{sampler::Sampler, storage::InmemoryStorage};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trial_data`
[INFO] [stdout]   --> src/storage.rs:62:25
[INFO] [stdout]    |
[INFO] [stdout] 62 |             if let Some(trial_data) = hm.get(&trial_id) {
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trial_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trials`
[INFO] [stdout]   --> src/storage.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 |             let trials = hm.values();
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_trials`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/storage.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 let it = &mut *self.underlying.lock().await;
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/storage.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let s = serde_json::to_string(&data).unwrap();
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/storage.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let it = &mut *self.underlying.lock().await;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/storage.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let s = serde_json::to_string(&data).unwrap();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Sampler` is never used
[INFO] [stdout]  --> src/sampler.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Sampler {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Storage` is never used
[INFO] [stdout]   --> src/storage.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Storage {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InmemoryStorage` is never constructed
[INFO] [stdout]   --> src/storage.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct InmemoryStorage {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `instance` and `new` are never used
[INFO] [stdout]   --> src/storage.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl InmemoryStorage {
[INFO] [stdout]    | -------------------- associated functions in this implementation
[INFO] [stdout] 40 |     fn instance() -> &'static Mutex<HashMap<Uuid, Box<HashMap<usize, String>>>> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Study` is never used
[INFO] [stdout]   --> src/study.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait Study<T: Storage + 'static, R: PartialOrd> {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StudyInstance` is never constructed
[INFO] [stdout]   --> src/study.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct StudyInstance<T: Storage> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/study.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl StudyInstance<InmemoryStorage>{
[INFO] [stdout]    | ----------------------------------- associated function in this implementation
[INFO] [stdout] 85 |     fn new() ->Self{
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/study.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 |     async fn test() {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trial` is never constructed
[INFO] [stdout]   --> src/trial.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Trial<T: Storage> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/trial.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Trial<InmemoryStorage> {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 24 |     pub(crate) fn new(study_id: Uuid, trial_id: usize) -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TrialData` is never used
[INFO] [stdout]  --> src/frozen_trial.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum TrialData<V> {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ParamData` is never constructed
[INFO] [stdout]   --> src/frozen_trial.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ParamData<T> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.88s
[INFO] running `Command { std: "docker" "inspect" "43ea9837a09748c7d860c9718c3fbea4192269d9b6b173e32c6465a192c1af37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43ea9837a09748c7d860c9718c3fbea4192269d9b6b173e32c6465a192c1af37", kill_on_drop: false }`
[INFO] [stdout] 43ea9837a09748c7d860c9718c3fbea4192269d9b6b173e32c6465a192c1af37
