[INFO] cloning repository https://github.com/textandfury/briefcache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/textandfury/briefcache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftextandfury%2Fbriefcache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftextandfury%2Fbriefcache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bac978a54cd0b2618c6e6cbad5091ef05a7e997 [INFO] testing textandfury/briefcache against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftextandfury%2Fbriefcache" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/textandfury/briefcache on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/textandfury/briefcache [INFO] finished tweaking git repo https://github.com/textandfury/briefcache [INFO] tweaked toml for git repo https://github.com/textandfury/briefcache written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/textandfury/briefcache already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1226f11f04332bdd0368a181376ca42c2c6140f5a1a35ea10327f428dc3fb5d2 [INFO] running `Command { std: "docker" "start" "-a" "1226f11f04332bdd0368a181376ca42c2c6140f5a1a35ea10327f428dc3fb5d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1226f11f04332bdd0368a181376ca42c2c6140f5a1a35ea10327f428dc3fb5d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1226f11f04332bdd0368a181376ca42c2c6140f5a1a35ea10327f428dc3fb5d2", kill_on_drop: false }` [INFO] [stdout] 1226f11f04332bdd0368a181376ca42c2c6140f5a1a35ea10327f428dc3fb5d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11404feae77a022ca88cafc5003936e46547eb3f6501fa79d8bca30e248ddbae [INFO] running `Command { std: "docker" "start" "-a" "11404feae77a022ca88cafc5003936e46547eb3f6501fa79d8bca30e248ddbae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytecount v0.5.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling succinct v0.4.4 [INFO] [stderr] Compiling pdatastructs v0.6.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling briefcache v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `num_stats_in_evict_policy` [INFO] [stdout] --> src/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub num_stats_in_evict_policy: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stats_window_rotation_interval` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub stats_window_rotation_interval: std::time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DynamicConfig` [INFO] [stdout] --> src/config.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct DynamicConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Store` [INFO] [stdout] --> src/engine/store.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine/store.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(static_config: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DataTable` [INFO] [stdout] --> src/engine/store.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct DataTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine/store.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_params` [INFO] [stdout] --> src/engine/store.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn from_params( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `namespace_as_base64urlnopad` [INFO] [stdout] --> src/engine/store.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn namespace_as_base64urlnopad(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FullyCached` [INFO] [stdout] --> src/engine/store.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | FullyCached(Arc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataVal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine/store.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CacheFilling` [INFO] [stdout] --> src/engine/store.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | CacheFilling(Arc, Arc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataVal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine/store.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_cached` [INFO] [stdout] --> src/engine/store.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn is_cached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_cachefilling` [INFO] [stdout] --> src/engine/store.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn is_cachefilling(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `streaming_to_fully_cached` [INFO] [stdout] --> src/engine/store.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn streaming_to_fully_cached(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Get` [INFO] [stdout] --> src/engine/store.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | Get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpRequestMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine/store.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Post` [INFO] [stdout] --> src/engine/store.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | Post, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpRequestMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine/store.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Put` [INFO] [stdout] --> src/engine/store.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | Put, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpRequestMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine/store.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `TtlMapVal` [INFO] [stdout] --> src/engine/store.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | enum TtlMapVal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `EvictPolicy` [INFO] [stdout] --> src/engine/store.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct EvictPolicy { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine/store.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn new(static_config: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `score` [INFO] [stdout] --> src/engine/store.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn score(&self, key: Arc) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/engine/store.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn rotate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus_one` [INFO] [stdout] --> src/engine/store.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn plus_one(&mut self, key: Arc) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_unix_epoch_millis` [INFO] [stdout] --> src/engine/store.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn from_unix_epoch_millis( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_millis_from_now` [INFO] [stdout] --> src/engine/store.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn from_millis_from_now(millis_from_now: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_sec_from_now` [INFO] [stdout] --> src/engine/store.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn from_sec_from_now(sec_from_now: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct` [INFO] [stdout] --> src/engine/store.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn construct(start: SystemTime, delta: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine/stream.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn new(config: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_src_io_error` [INFO] [stdout] --> src/engine/stream.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn register_src_io_error(&mut self, src_err: ErrorKind) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine/stream.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn new(ss: &ShareableSegments) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.32s [INFO] running `Command { std: "docker" "inspect" "11404feae77a022ca88cafc5003936e46547eb3f6501fa79d8bca30e248ddbae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11404feae77a022ca88cafc5003936e46547eb3f6501fa79d8bca30e248ddbae", kill_on_drop: false }` [INFO] [stdout] 11404feae77a022ca88cafc5003936e46547eb3f6501fa79d8bca30e248ddbae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 570ac39074b08221ffe9867272b0788f119fb293c44bd2137e8070bde894b2d1 [INFO] running `Command { std: "docker" "start" "-a" "570ac39074b08221ffe9867272b0788f119fb293c44bd2137e8070bde894b2d1", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling briefcache v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `stats_window_rotation_interval` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub stats_window_rotation_interval: std::time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DynamicConfig` [INFO] [stdout] --> src/config.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct DynamicConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Store` [INFO] [stdout] --> src/engine/store.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine/store.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(static_config: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DataTable` [INFO] [stdout] --> src/engine/store.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct DataTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/engine/store.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FullyCached` [INFO] [stdout] --> src/engine/store.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | FullyCached(Arc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataVal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine/store.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CacheFilling` [INFO] [stdout] --> src/engine/store.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | CacheFilling(Arc, Arc), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataVal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/engine/store.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_cached` [INFO] [stdout] --> src/engine/store.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn is_cached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_cachefilling` [INFO] [stdout] --> src/engine/store.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn is_cachefilling(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `streaming_to_fully_cached` [INFO] [stdout] --> src/engine/store.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn streaming_to_fully_cached(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `TtlMapVal` [INFO] [stdout] --> src/engine/store.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | enum TtlMapVal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_rotated` [INFO] [stdout] --> src/engine/store.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | last_rotated: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lru` [INFO] [stdout] --> src/engine/store.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | lru: LinkedHashSet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus_one` [INFO] [stdout] --> src/engine/store.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn plus_one(&mut self, key: Arc) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_unix_epoch_millis` [INFO] [stdout] --> src/engine/store.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn from_unix_epoch_millis( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_millis_from_now` [INFO] [stdout] --> src/engine/store.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn from_millis_from_now(millis_from_now: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_sec_from_now` [INFO] [stdout] --> src/engine/store.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn from_sec_from_now(sec_from_now: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct` [INFO] [stdout] --> src/engine/store.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn construct(start: SystemTime, delta: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.18s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/briefcache-85c4ec74e565b3f5) [INFO] running `Command { std: "docker" "inspect" "570ac39074b08221ffe9867272b0788f119fb293c44bd2137e8070bde894b2d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "570ac39074b08221ffe9867272b0788f119fb293c44bd2137e8070bde894b2d1", kill_on_drop: false }` [INFO] [stdout] 570ac39074b08221ffe9867272b0788f119fb293c44bd2137e8070bde894b2d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf20e4943bee06f9fd0790be544cf7ec8b1ac4012298e3634dc7728b191f8039 [INFO] running `Command { std: "docker" "start" "-a" "cf20e4943bee06f9fd0790be544cf7ec8b1ac4012298e3634dc7728b191f8039", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `stats_window_rotation_interval` [INFO] [stderr] --> src/config.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub stats_window_rotation_interval: std::time::Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `DynamicConfig` [INFO] [stderr] --> src/config.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) struct DynamicConfig { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Store` [INFO] [stderr] --> src/engine/store.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | pub(crate) struct Store { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/engine/store.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn new(static_config: Arc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `DataTable` [INFO] [stderr] --> src/engine/store.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | struct DataTable { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/engine/store.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FullyCached` [INFO] [stderr] --> src/engine/store.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | FullyCached(Arc), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DataVal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/engine/store.rs:88:10 [INFO] [stderr] | [INFO] [stderr] 88 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CacheFilling` [INFO] [stderr] --> src/engine/store.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | CacheFilling(Arc, Arc), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DataVal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/engine/store.rs:88:10 [INFO] [stderr] | [INFO] [stderr] 88 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_cached` [INFO] [stderr] --> src/engine/store.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn is_cached(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_cachefilling` [INFO] [stderr] --> src/engine/store.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn is_cachefilling(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `streaming_to_fully_cached` [INFO] [stderr] --> src/engine/store.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 115 | fn streaming_to_fully_cached(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `TtlMapVal` [INFO] [stderr] --> src/engine/store.rs:129:6 [INFO] [stderr] | [INFO] [stderr] 129 | enum TtlMapVal { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `last_rotated` [INFO] [stderr] --> src/engine/store.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | last_rotated: SystemTime, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lru` [INFO] [stderr] --> src/engine/store.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | lru: LinkedHashSet>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `plus_one` [INFO] [stderr] --> src/engine/store.rs:173:8 [INFO] [stderr] | [INFO] [stderr] 173 | fn plus_one(&mut self, key: Arc) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_unix_epoch_millis` [INFO] [stderr] --> src/engine/store.rs:185:12 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn from_unix_epoch_millis( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_millis_from_now` [INFO] [stderr] --> src/engine/store.rs:194:12 [INFO] [stderr] | [INFO] [stderr] 194 | pub fn from_millis_from_now(millis_from_now: u64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_sec_from_now` [INFO] [stderr] --> src/engine/store.rs:198:12 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn from_sec_from_now(sec_from_now: u64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `construct` [INFO] [stderr] --> src/engine/store.rs:202:8 [INFO] [stderr] | [INFO] [stderr] 202 | fn construct(start: SystemTime, delta: Duration) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `briefcache` (bin "briefcache" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/briefcache-85c4ec74e565b3f5) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test engine::store::tests::datakey_ord_eq ... ok [INFO] [stdout] test engine::store::tests::req_body_digest ... ok [INFO] [stdout] test engine::store::tests::ep_score ... ok [INFO] [stdout] test engine::stream::tests::segment_arithmetic_small_input_large_segment ... ok [INFO] [stdout] test engine::stream::tests::read_with_input_error ... ok [INFO] [stdout] test engine::stream::tests::read_without_input_error ... ok [INFO] [stdout] test engine::stream::tests::segment_arithmetic_reasonable_scenario ... ok [INFO] [stdout] test engine::stream::tests::fully_cached_value_read ... ok [INFO] [stdout] test engine::stream::tests::segment_arithmetic_large_input_small_segment ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf20e4943bee06f9fd0790be544cf7ec8b1ac4012298e3634dc7728b191f8039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf20e4943bee06f9fd0790be544cf7ec8b1ac4012298e3634dc7728b191f8039", kill_on_drop: false }` [INFO] [stdout] cf20e4943bee06f9fd0790be544cf7ec8b1ac4012298e3634dc7728b191f8039