[INFO] cloning repository https://github.com/Jeadie/edge-inference [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jeadie/edge-inference" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeadie%2Fedge-inference", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeadie%2Fedge-inference'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ad501a176eada0979f205b85afd68e3fd603e96 [INFO] testing Jeadie/edge-inference against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeadie%2Fedge-inference" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jeadie/edge-inference on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jeadie/edge-inference [INFO] finished tweaking git repo https://github.com/Jeadie/edge-inference [INFO] tweaked toml for git repo https://github.com/Jeadie/edge-inference written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jeadie/edge-inference 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-wasm-bindgen v0.4.5 [INFO] [stderr] Downloaded worker-macros v0.0.7 [INFO] [stderr] Downloaded worker-sys v0.0.7 [INFO] [stderr] Downloaded worker v0.0.13 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded worker-kv v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4950e95c7ea705a5f13382e424774040e6164ae06963bf5bf8ffe58e28ecf2cc [INFO] running `Command { std: "docker" "start" "-a" "4950e95c7ea705a5f13382e424774040e6164ae06963bf5bf8ffe58e28ecf2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4950e95c7ea705a5f13382e424774040e6164ae06963bf5bf8ffe58e28ecf2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4950e95c7ea705a5f13382e424774040e6164ae06963bf5bf8ffe58e28ecf2cc", kill_on_drop: false }` [INFO] [stdout] 4950e95c7ea705a5f13382e424774040e6164ae06963bf5bf8ffe58e28ecf2cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cc58f5346f8a9305d91e8e3f649c8e890af769e20eaff00479ccbc93824c15c [INFO] running `Command { std: "docker" "start" "-a" "9cc58f5346f8a9305d91e8e3f649c8e890af769e20eaff00479ccbc93824c15c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.58 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.27 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling bumpalo v3.12.2 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v2.0.16 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling phf_codegen v0.11.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.84 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.84 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling js-sys v0.3.61 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.61 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.34 [INFO] [stderr] Compiling serde-wasm-bindgen v0.4.5 [INFO] [stderr] Compiling worker-kv v0.5.1 [INFO] [stderr] Compiling worker-sys v0.0.7 [INFO] [stderr] Compiling wasm-streams v0.2.3 [INFO] [stderr] Compiling worker-macros v0.0.7 [INFO] [stderr] Compiling worker v0.0.13 [INFO] [stderr] Compiling infima v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/handler.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let data: index::AddDocumentsRequest = req.json().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/handler.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let data: search::SearchRequest = req.json().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `query` are never read [INFO] [stdout] --> src/search.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SearchRequest { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | index: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | query: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `doc` are never read [INFO] [stdout] --> src/index.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AddDocumentsRequest { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 14 | index: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | doc: Document, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddDocumentsRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/store.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_storage_for`, `add_document`, and `get_documents` are never used [INFO] [stdout] --> src/store.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Store { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(kv_store: worker::kv::KvStore, kv_key: String) -> Store { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | async fn get_storage_for(&self, acct: &String) -> worker::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn add_document(&self, acct: String, d: index::Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn get_documents(&self, acct: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9cc58f5346f8a9305d91e8e3f649c8e890af769e20eaff00479ccbc93824c15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cc58f5346f8a9305d91e8e3f649c8e890af769e20eaff00479ccbc93824c15c", kill_on_drop: false }` [INFO] [stdout] 9cc58f5346f8a9305d91e8e3f649c8e890af769e20eaff00479ccbc93824c15c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da335614e5bcf1e297cc114fa4ff152c2e6c03b72c7e99a31cc304544ad9f5ac [INFO] running `Command { std: "docker" "start" "-a" "da335614e5bcf1e297cc114fa4ff152c2e6c03b72c7e99a31cc304544ad9f5ac", kill_on_drop: false }` [INFO] [stderr] Compiling infima v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/handler.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let data: index::AddDocumentsRequest = req.json().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/handler.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let data: search::SearchRequest = req.json().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `query` are never read [INFO] [stdout] --> src/search.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SearchRequest { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | index: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | query: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `doc` are never read [INFO] [stdout] --> src/index.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AddDocumentsRequest { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 14 | index: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | doc: Document, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddDocumentsRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/store.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_storage_for`, `add_document`, and `get_documents` are never used [INFO] [stdout] --> src/store.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Store { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(kv_store: worker::kv::KvStore, kv_key: String) -> Store { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | async fn get_storage_for(&self, acct: &String) -> worker::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn add_document(&self, acct: String, d: index::Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn get_documents(&self, acct: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/handler.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let data: index::AddDocumentsRequest = req.json().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/handler.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let data: search::SearchRequest = req.json().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `query` are never read [INFO] [stdout] --> src/search.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SearchRequest { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | index: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | query: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `doc` are never read [INFO] [stdout] --> src/index.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AddDocumentsRequest { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 14 | index: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | doc: Document, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddDocumentsRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/store.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_storage_for`, `add_document`, and `get_documents` are never used [INFO] [stdout] --> src/store.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Store { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(kv_store: worker::kv::KvStore, kv_key: String) -> Store { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | async fn get_storage_for(&self, acct: &String) -> worker::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn add_document(&self, acct: String, d: index::Document) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn get_documents(&self, acct: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "da335614e5bcf1e297cc114fa4ff152c2e6c03b72c7e99a31cc304544ad9f5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da335614e5bcf1e297cc114fa4ff152c2e6c03b72c7e99a31cc304544ad9f5ac", kill_on_drop: false }` [INFO] [stdout] da335614e5bcf1e297cc114fa4ff152c2e6c03b72c7e99a31cc304544ad9f5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9fd78070283c5692b23fae53cecb63d19d7bdc97295776952488b42174626f34 [INFO] running `Command { std: "docker" "start" "-a" "9fd78070283c5692b23fae53cecb63d19d7bdc97295776952488b42174626f34", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/handler.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let data: index::AddDocumentsRequest = req.json().await?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/handler.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let data: search::SearchRequest = req.json().await?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: fields `index` and `query` are never read [INFO] [stderr] --> src/search.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct SearchRequest { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 6 | index: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 7 | query: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SearchRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `index` and `doc` are never read [INFO] [stderr] --> src/index.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct AddDocumentsRequest { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 14 | index: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | doc: Document, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AddDocumentsRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Store` is never constructed [INFO] [stderr] --> src/store.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Store { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_storage_for`, `add_document`, and `get_documents` are never used [INFO] [stderr] --> src/store.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Store { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 21 | pub fn new(kv_store: worker::kv::KvStore, kv_key: String) -> Store { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | async fn get_storage_for(&self, acct: &String) -> worker::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub async fn add_document(&self, acct: String, d: index::Document) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | pub async fn get_documents(&self, acct: String) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `infima` (lib) generated 6 warnings [INFO] [stderr] warning: `infima` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/infima-01132f495bd78458) [INFO] [stderr] Doc-tests infima [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] [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" "9fd78070283c5692b23fae53cecb63d19d7bdc97295776952488b42174626f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd78070283c5692b23fae53cecb63d19d7bdc97295776952488b42174626f34", kill_on_drop: false }` [INFO] [stdout] 9fd78070283c5692b23fae53cecb63d19d7bdc97295776952488b42174626f34