[INFO] cloning repository https://github.com/Firstyear/opensuse-proxy-cache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Firstyear/opensuse-proxy-cache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirstyear%2Fopensuse-proxy-cache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirstyear%2Fopensuse-proxy-cache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a219f164e1e2c08a03fea01a2861fc09d667c5f [INFO] checking Firstyear/opensuse-proxy-cache/8a219f164e1e2c08a03fea01a2861fc09d667c5f against master#80b898258da78fdd1262438126aa0cf90e395f0c for pr-149195-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirstyear%2Fopensuse-proxy-cache" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Firstyear/opensuse-proxy-cache [INFO] finished tweaking git repo https://github.com/Firstyear/opensuse-proxy-cache [INFO] tweaked toml for git repo https://github.com/Firstyear/opensuse-proxy-cache written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Firstyear/opensuse-proxy-cache on toolchain 80b898258da78fdd1262438126aa0cf90e395f0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Firstyear/opensuse-proxy-cache 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" "+80b898258da78fdd1262438126aa0cf90e395f0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crc32c v0.6.8 [INFO] [stderr] Downloaded sptr v0.3.2 [INFO] [stderr] Downloaded serde_spanned v1.0.4 [INFO] [stderr] Downloaded zmij v1.0.18 [INFO] [stderr] Downloaded mintex v0.1.4 [INFO] [stderr] Downloaded toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Downloaded toml v0.9.11+spec-1.1.0 [INFO] [stderr] Downloaded siphasher v1.0.2 [INFO] [stderr] Downloaded openssl-probe v0.2.1 [INFO] [stderr] Downloaded fs-err v3.2.2 [INFO] [stderr] Downloaded console-api v0.6.0 [INFO] [stderr] Downloaded async-tftp v0.3.6 [INFO] [stderr] Downloaded tracing-forest v0.1.6 [INFO] [stderr] Downloaded axum-server v0.7.3 [INFO] [stderr] Downloaded bloomfilter v1.0.16 [INFO] [stderr] Downloaded axum-macros v0.5.0 [INFO] [stderr] Downloaded ipnetwork v0.21.1 [INFO] [stderr] Downloaded console-subscriber v0.2.0 [INFO] [stderr] Downloaded maxminddb v0.26.0 [INFO] [stderr] Downloaded redis v0.25.4 [INFO] [stderr] Downloaded aws-lc-rs v1.15.4 [INFO] [stderr] Downloaded concread v0.5.9 [INFO] [stderr] Downloaded aws-lc-sys v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba8e26020ce0a11ae914c4fb10e51b6d7133a2b00eff923c4a173ebd6d6e7c03 [INFO] running `Command { std: "docker" "start" "-a" "ba8e26020ce0a11ae914c4fb10e51b6d7133a2b00eff923c4a173ebd6d6e7c03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba8e26020ce0a11ae914c4fb10e51b6d7133a2b00eff923c4a173ebd6d6e7c03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba8e26020ce0a11ae914c4fb10e51b6d7133a2b00eff923c4a173ebd6d6e7c03", kill_on_drop: false }` [INFO] [stdout] ba8e26020ce0a11ae914c4fb10e51b6d7133a2b00eff923c4a173ebd6d6e7c03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6e69351a4138ef48c82c56914a7130fa4ca4599000706a740d8f436efb1ef06 [INFO] running `Command { std: "docker" "start" "-a" "e6e69351a4138ef48c82c56914a7130fa4ca4599000706a740d8f436efb1ef06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling zmij v1.0.18 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking rustix v1.1.3 [INFO] [stderr] Compiling aws-lc-sys v0.37.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking num-conv v0.2.0 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking time v0.3.46 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling fs-err v3.2.2 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking concread v0.5.9 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking tracing-forest v0.1.6 [INFO] [stderr] Checking arc-disk-cache v0.1.1 (/opt/rustwide/workdir/arc-disk-cache) [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking clap_builder v4.5.52 [INFO] [stderr] Checking toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking arc-swap v1.8.0 [INFO] [stderr] Checking ipnetwork v0.21.1 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking siphasher v1.0.2 [INFO] [stderr] Checking toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking bloomfilter v1.0.16 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking async-tftp v0.3.6 [INFO] [stderr] Checking toml v0.9.11+spec-1.1.0 [INFO] [stderr] Checking maxminddb v0.26.0 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking clap v4.5.52 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> arc-disk-cache/src/lib.rs:812:17 [INFO] [stdout] | [INFO] [stdout] 812 | let dc: ArcDiskCache, ()> = ArcDiskCache::new(1024, &dir, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `new_tempfile` exists for struct `ArcDiskCache, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> arc-disk-cache/src/lib.rs:814:25 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ----------------------------- method `new_tempfile` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 814 | let mut fh = dc.new_tempfile().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `ArcDiskCache, ()>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Vec: AsRef` was not satisfied [INFO] [stdout] --> arc-disk-cache/src/lib.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 264 | impl ArcDiskCache [INFO] [stdout] | ------------------ [INFO] [stdout] ... [INFO] [stdout] 268 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> arc-disk-cache/src/lib.rs:812:45 [INFO] [stdout] | [INFO] [stdout] 812 | let dc: ArcDiskCache, ()> = ArcDiskCache::new(1024, &dir, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> arc-disk-cache/src/lib.rs:812:45 [INFO] [stdout] | [INFO] [stdout] 812 | let dc: ArcDiskCache, ()> = ArcDiskCache::new(1024, &dir, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache::::new` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 268 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache::::new` [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn new

(capacity: usize, content_dir: P, durable_fs: bool) -> io::Result [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `ArcDiskCache, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> arc-disk-cache/src/lib.rs:820:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ----------------------------- method `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 820 | dc.insert(k, (), fh); [INFO] [stdout] | ^^^^^^ method cannot be called on `ArcDiskCache, ()>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Vec: AsRef` was not satisfied [INFO] [stdout] --> arc-disk-cache/src/lib.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 264 | impl ArcDiskCache [INFO] [stdout] | ------------------ [INFO] [stdout] ... [INFO] [stdout] 268 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] candidate #2: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #3: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking redis-server v0.1.0 (/opt/rustwide/workdir/redis-server) [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arc-disk-cache` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/codec.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | cache: Arc, [INFO] [stdout] | ^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/main.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | cache: Arc, [INFO] [stdout] | ^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/codec.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(cache: Arc) -> Self { [INFO] [stdout] | ^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `view_stats` exists for struct `Arc, ()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> redis-server/src/main.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | ... let stats = cache.view_stats(); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `Arc, ()>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `view_stats` exists for struct `Arc, ()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> redis-server/src/main.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | ... let v = cache.view_stats().shared_max.to_string(); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `Arc, ()>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `Arc, ()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> redis-server/src/main.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | ... match cache.get(&key) { [INFO] [stdout] | ^^^ method cannot be called on `Arc, ()>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> redis-server/src/main.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | ... let mut f = match cobj.fhandle.reopen() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | ... if let Ok(n) = f.read(&mut buffer) { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `f` an explicit type [INFO] [stdout] | [INFO] [stdout] 109 | let mut f: /* Type */ = match cobj.fhandle.reopen() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `Arc, ()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> redis-server/src/main.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | ... cache.insert(key, (), fh); [INFO] [stdout] | ^^^^^^ method cannot be called on `Arc, ()>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/main.rs:227:68 [INFO] [stdout] | [INFO] [stdout] 227 | let r = FramedRead::new(r, RedisCodec::new(cache.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/main.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | let cache = match ArcDiskCache::new(cache_size, &cache_path, durable_fs) { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/main.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | let cache = match ArcDiskCache::new(cache_size, &cache_path, durable_fs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache::::new` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 268 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache::::new` [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn new

(capacity: usize, content_dir: P, durable_fs: bool) -> io::Result [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/main.rs:228:69 [INFO] [stdout] | [INFO] [stdout] 228 | let w = FramedWrite::new(w, RedisCodec::new(cache.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/main.rs:230:39 [INFO] [stdout] | [INFO] [stdout] 230 | let c_cache = cache.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/main.rs:232:85 [INFO] [stdout] | [INFO] [stdout] 232 | tokio::spawn(client_process(r, w, client_socket_addr, c_rx, c_cache)); [INFO] [stdout] | ^^^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsRef` is not satisfied [INFO] [stdout] --> redis-server/src/codec.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | cache, [INFO] [stdout] | ^^^^^ the trait `AsRef` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `AsRef` [INFO] [stdout] --> /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4184:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef>` [INFO] [stdout] ::: /rustc/80b898258da78fdd1262438126aa0cf90e395f0c/library/alloc/src/vec/mod.rs:4198:0 [INFO] [stdout] | [INFO] [stdout] = note: `Vec` implements `AsRef<[T]>` [INFO] [stdout] note: required by a bound in `ArcDiskCache` [INFO] [stdout] --> arc-disk-cache/src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ArcDiskCache [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 223 | + AsRef [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ArcDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `new_tempfile` exists for struct `Arc, ()>>`, but its trait bounds were not satisfied [INFO] [stdout] --> redis-server/src/codec.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | let fh = self.cache.new_tempfile().ok_or_else(|| { [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `Arc, ()>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-server` (bin "redis-server") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "e6e69351a4138ef48c82c56914a7130fa4ca4599000706a740d8f436efb1ef06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e69351a4138ef48c82c56914a7130fa4ca4599000706a740d8f436efb1ef06", kill_on_drop: false }` [INFO] [stdout] e6e69351a4138ef48c82c56914a7130fa4ca4599000706a740d8f436efb1ef06