[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] testing i10416/minituna.rs against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi10416%2Fminituna.rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/i10416/minituna.rs on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+beta-2025-02-18" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 131edf148cc3ef8dc1b6d88e3323246693750104435a61e26cdd2baffdc1673e [INFO] running `Command { std: "docker" "start" "-a" "131edf148cc3ef8dc1b6d88e3323246693750104435a61e26cdd2baffdc1673e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "131edf148cc3ef8dc1b6d88e3323246693750104435a61e26cdd2baffdc1673e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "131edf148cc3ef8dc1b6d88e3323246693750104435a61e26cdd2baffdc1673e", kill_on_drop: false }` [INFO] [stdout] 131edf148cc3ef8dc1b6d88e3323246693750104435a61e26cdd2baffdc1673e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab428f14db436d5e57fb159bcf50aba9524591fb208e6a326a26023235f342fe [INFO] running `Command { std: "docker" "start" "-a" "ab428f14db436d5e57fb159bcf50aba9524591fb208e6a326a26023235f342fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v1.0.0-alpha.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling 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)]` 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)]` 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: method `sample_uniform` is never used [INFO] [stdout] --> src/sampler.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Sampler { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 7 | async fn sample_uniform< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_trials` and `set_trial_value` are never used [INFO] [stdout] --> src/storage.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | async fn get_trials(&self, study_id: Uuid) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | async fn set_trial_value( [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>>> { [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 { [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 { [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{ [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: associated function `new` is never used [INFO] [stdout] --> src/trial.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Trial { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.04s [INFO] running `Command { std: "docker" "inspect" "ab428f14db436d5e57fb159bcf50aba9524591fb208e6a326a26023235f342fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab428f14db436d5e57fb159bcf50aba9524591fb208e6a326a26023235f342fe", kill_on_drop: false }` [INFO] [stdout] ab428f14db436d5e57fb159bcf50aba9524591fb208e6a326a26023235f342fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f394d1605a2539bcc97a84784198b931a28158d8993628f8e6547ebb8cc79e26 [INFO] running `Command { std: "docker" "start" "-a" "f394d1605a2539bcc97a84784198b931a28158d8993628f8e6547ebb8cc79e26", kill_on_drop: false }` [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)]` 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)]` 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] [stderr] Compiling minituna v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `sample_uniform` is never used [INFO] [stdout] --> src/sampler.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Sampler { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 7 | async fn sample_uniform< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_trials` and `set_trial_value` are never used [INFO] [stdout] --> src/storage.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | async fn get_trials(&self, study_id: Uuid) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | async fn set_trial_value( [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>>> { [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 { [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 { [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{ [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: associated function `new` is never used [INFO] [stdout] --> src/trial.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Trial { [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: 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)]` 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)]` 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: method `sample_uniform` is never used [INFO] [stdout] --> src/sampler.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Sampler { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 7 | async fn sample_uniform< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_trials` and `set_trial_value` are never used [INFO] [stdout] --> src/storage.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | async fn get_trials(&self, study_id: Uuid) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | async fn set_trial_value( [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>>> { [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 { [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 { [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{ [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: associated function `new` is never used [INFO] [stdout] --> src/trial.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Trial { [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "f394d1605a2539bcc97a84784198b931a28158d8993628f8e6547ebb8cc79e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f394d1605a2539bcc97a84784198b931a28158d8993628f8e6547ebb8cc79e26", kill_on_drop: false }` [INFO] [stdout] f394d1605a2539bcc97a84784198b931a28158d8993628f8e6547ebb8cc79e26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ee8b454ab83417b60f4026587d9da169d78aa5791369b282cb906cb6959c442 [INFO] running `Command { std: "docker" "start" "-a" "6ee8b454ab83417b60f4026587d9da169d78aa5791369b282cb906cb6959c442", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/study.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `storage::InmemoryStorage` [INFO] [stderr] --> src/study.rs:96:35 [INFO] [stderr] | [INFO] [stderr] 96 | use crate::{sampler::Sampler, storage::InmemoryStorage}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `trial_data` [INFO] [stderr] --> src/storage.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | if let Some(trial_data) = hm.get(&trial_id) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trial_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `trials` [INFO] [stderr] --> src/storage.rs:79:17 [INFO] [stderr] | [INFO] [stderr] 79 | let trials = hm.values(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_trials` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `it` [INFO] [stderr] --> src/storage.rs:108:21 [INFO] [stderr] | [INFO] [stderr] 108 | let it = &mut *self.underlying.lock().await; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/storage.rs:109:21 [INFO] [stderr] | [INFO] [stderr] 109 | let s = serde_json::to_string(&data).unwrap(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `it` [INFO] [stderr] --> src/storage.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | let it = &mut *self.underlying.lock().await; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/storage.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | let s = serde_json::to_string(&data).unwrap(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: method `sample_uniform` is never used [INFO] [stderr] --> src/sampler.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 6 | pub trait Sampler { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] 7 | async fn sample_uniform< [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_trials` and `set_trial_value` are never used [INFO] [stderr] --> src/storage.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait Storage { [INFO] [stderr] | ------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 18 | async fn get_trials(&self, study_id: Uuid) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | async fn set_trial_value( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `instance` and `new` are never used [INFO] [stderr] --> src/storage.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 39 | impl InmemoryStorage { [INFO] [stderr] | -------------------- associated functions in this implementation [INFO] [stderr] 40 | fn instance() -> &'static Mutex>>> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Study` is never used [INFO] [stderr] --> src/study.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | trait Study { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StudyInstance` is never constructed [INFO] [stderr] --> src/study.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | struct StudyInstance { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/study.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 84 | impl StudyInstance{ [INFO] [stderr] | ----------------------------------- associated function in this implementation [INFO] [stderr] 85 | fn new() ->Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test` is never used [INFO] [stderr] --> src/study.rs:100:14 [INFO] [stderr] | [INFO] [stderr] 100 | async fn test() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/trial.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 23 | impl Trial { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] 24 | pub(crate) fn new(study_id: Uuid, trial_id: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `minituna` (lib) generated 16 warnings (run `cargo fix --lib -p minituna` to apply 2 suggestions) [INFO] [stderr] warning: `minituna` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/minituna-b0ac3f590d465a5d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests minituna [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6ee8b454ab83417b60f4026587d9da169d78aa5791369b282cb906cb6959c442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ee8b454ab83417b60f4026587d9da169d78aa5791369b282cb906cb6959c442", kill_on_drop: false }` [INFO] [stdout] 6ee8b454ab83417b60f4026587d9da169d78aa5791369b282cb906cb6959c442