[INFO] fetching crate teo-mongodb-connector 0.3.5... [INFO] testing teo-mongodb-connector-0.3.5 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] extracting crate teo-mongodb-connector 0.3.5 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate teo-mongodb-connector 0.3.5 [INFO] finished tweaking crates.io crate teo-mongodb-connector 0.3.5 [INFO] tweaked toml for crates.io crate teo-mongodb-connector 0.3.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate teo-mongodb-connector 0.3.5 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 310 packages to latest compatible versions [INFO] [stderr] Adding bigdecimal v0.3.1 (available: v0.4.10) [INFO] [stderr] Adding bson v2.15.0 (available: v3.1.0) [INFO] [stderr] Adding cuid v1.2.0 (available: v1.3.3) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding itertools v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding lazy_static v1.4.0 (available: v1.5.0) [INFO] [stderr] Adding mongodb v2.8.2 (available: v3.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0da06e578cf2b2720605cc1e4553066b6cb85018d270dd03bbfcede2f53e1fc0 [INFO] running `Command { std: "docker" "start" "-a" "0da06e578cf2b2720605cc1e4553066b6cb85018d270dd03bbfcede2f53e1fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0da06e578cf2b2720605cc1e4553066b6cb85018d270dd03bbfcede2f53e1fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da06e578cf2b2720605cc1e4553066b6cb85018d270dd03bbfcede2f53e1fc0", kill_on_drop: false }` [INFO] [stdout] 0da06e578cf2b2720605cc1e4553066b6cb85018d270dd03bbfcede2f53e1fc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaf7789d4914b11bcb6290329501bf217fe62e064f9f1f965c29f575647fe707 [INFO] running `Command { std: "docker" "start" "-a" "eaf7789d4914b11bcb6290329501bf217fe62e064f9f1f965c29f575647fe707", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling enum-ordinalize v4.3.2 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling snailquote v0.3.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling path-clean v1.0.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling resolv-conf v0.7.6 [INFO] [stderr] Compiling cuid-util v0.1.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling array_tool v1.0.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling random-string v1.1.0 [INFO] [stderr] Compiling bcrypt v0.16.0 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling cuid2 v0.1.4 [INFO] [stderr] Compiling cuid v1.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling inflector-plus v0.11.7 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling key-path v0.2.3 [INFO] [stderr] Compiling history-box v0.1.1 [INFO] [stderr] Compiling deferred-box v0.1.4 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling teo-result v0.3.5 [INFO] [stderr] Compiling mongodb v2.8.2 [INFO] [stderr] Compiling teo-parser v0.3.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling teo-runtime v0.3.8 [INFO] [stderr] Compiling teo-mongodb-connector v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/aggregation/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bson_ext/coder.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | for (key, value) in object.inner.atomic_updater_map.lock().unwrap().iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/connector/transaction.rs:386:50 [INFO] [stdout] | [INFO] [stdout] 386 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silent` [INFO] [stdout] --> src/connector/transaction.rs:386:87 [INFO] [stdout] | [INFO] [stdout] 386 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_silent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:473:31 [INFO] [stdout] | [INFO] [stdout] 473 | async fn query_raw(&self, value: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:505:64 [INFO] [stdout] | [INFO] [stdout] 505 | ...Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, request: Option, path: KeyPath) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:523:62 [INFO] [stdout] | [INFO] [stdout] 523 | ...Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, request: Option, path: KeyPath) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_ctx` [INFO] [stdout] --> src/connector/transaction.rs:610:51 [INFO] [stdout] | [INFO] [stdout] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/connector/transaction.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/connector/transaction.rs:610:40 [INFO] [stdout] | [INFO] [stdout] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode_without_default_type` is never used [INFO] [stdout] --> src/bson_ext/coder.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl BsonCoder { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub(crate) fn encode_without_default_type(value: &Value) -> Bson { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "eaf7789d4914b11bcb6290329501bf217fe62e064f9f1f965c29f575647fe707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaf7789d4914b11bcb6290329501bf217fe62e064f9f1f965c29f575647fe707", kill_on_drop: false }` [INFO] [stdout] eaf7789d4914b11bcb6290329501bf217fe62e064f9f1f965c29f575647fe707 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88ddf4d35de2673490a74757f7664292c183f366cc21f7a1ad99a22385718447 [INFO] running `Command { std: "docker" "start" "-a" "88ddf4d35de2673490a74757f7664292c183f366cc21f7a1ad99a22385718447", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/aggregation/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bson_ext/coder.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | for (key, value) in object.inner.atomic_updater_map.lock().unwrap().iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/connector/transaction.rs:386:50 [INFO] [stdout] | [INFO] [stdout] 386 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silent` [INFO] [stdout] --> src/connector/transaction.rs:386:87 [INFO] [stdout] | [INFO] [stdout] 386 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_silent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:473:31 [INFO] [stdout] | [INFO] [stdout] 473 | async fn query_raw(&self, value: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:505:64 [INFO] [stdout] | [INFO] [stdout] 505 | ...Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, request: Option, path: KeyPath) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:523:62 [INFO] [stdout] | [INFO] [stdout] 523 | ...Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, request: Option, path: KeyPath) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_ctx` [INFO] [stdout] --> src/connector/transaction.rs:610:51 [INFO] [stdout] | [INFO] [stdout] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/connector/transaction.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/connector/transaction.rs:610:40 [INFO] [stdout] | [INFO] [stdout] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode_without_default_type` is never used [INFO] [stdout] --> src/bson_ext/coder.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl BsonCoder { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub(crate) fn encode_without_default_type(value: &Value) -> Bson { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling teo-mongodb-connector v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/aggregation/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bson_ext/coder.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use teo_result::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | for (key, value) in object.inner.atomic_updater_map.lock().unwrap().iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/connector/transaction.rs:386:50 [INFO] [stdout] | [INFO] [stdout] 386 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silent` [INFO] [stdout] --> src/connector/transaction.rs:386:87 [INFO] [stdout] | [INFO] [stdout] 386 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_silent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/connector/transaction.rs:473:31 [INFO] [stdout] | [INFO] [stdout] 473 | async fn query_raw(&self, value: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:505:64 [INFO] [stdout] | [INFO] [stdout] 505 | ...Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, request: Option, path: KeyPath) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:523:62 [INFO] [stdout] | [INFO] [stdout] 523 | ...Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, request: Option, path: KeyPath) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_ctx` [INFO] [stdout] --> src/connector/transaction.rs:610:51 [INFO] [stdout] | [INFO] [stdout] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/connector/transaction.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/connector/transaction.rs:610:40 [INFO] [stdout] | [INFO] [stdout] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode_without_default_type` is never used [INFO] [stdout] --> src/bson_ext/coder.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl BsonCoder { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub(crate) fn encode_without_default_type(value: &Value) -> Bson { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.66s [INFO] running `Command { std: "docker" "inspect" "88ddf4d35de2673490a74757f7664292c183f366cc21f7a1ad99a22385718447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ddf4d35de2673490a74757f7664292c183f366cc21f7a1ad99a22385718447", kill_on_drop: false }` [INFO] [stdout] 88ddf4d35de2673490a74757f7664292c183f366cc21f7a1ad99a22385718447 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ba925a883d13c39c8b9242d62cc72941cbe372ceba1939f4ba27d5e568e4d18 [INFO] running `Command { std: "docker" "start" "-a" "6ba925a883d13c39c8b9242d62cc72941cbe372ceba1939f4ba27d5e568e4d18", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/aggregation/mod.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | use teo_result::{Error, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/bson_ext/coder.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use teo_result::{Error, Result}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/connector/transaction.rs:366:31 [INFO] [stderr] | [INFO] [stderr] 366 | for (key, value) in object.inner.atomic_updater_map.lock().unwrap().iter() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dry_run` [INFO] [stderr] --> src/connector/transaction.rs:386:50 [INFO] [stderr] | [INFO] [stderr] 386 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `silent` [INFO] [stderr] --> src/connector/transaction.rs:386:87 [INFO] [stderr] | [INFO] [stderr] 386 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_silent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/connector/transaction.rs:473:31 [INFO] [stderr] | [INFO] [stderr] 473 | async fn query_raw(&self, value: &Value) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ignore_select_and_include` [INFO] [stderr] --> src/connector/transaction.rs:505:64 [INFO] [stderr] | [INFO] [stderr] 505 | ...Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, request: Option, path: KeyPath) -> Result... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ignore_select_and_include` [INFO] [stderr] --> src/connector/transaction.rs:523:62 [INFO] [stderr] | [INFO] [stderr] 523 | ...Value, ignore_select_and_include: bool, action: Action, transaction_ctx: Ctx, request: Option, path: KeyPath) -> Result... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `transaction_ctx` [INFO] [stderr] --> src/connector/transaction.rs:610:51 [INFO] [stderr] | [INFO] [stderr] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/connector/transaction.rs:610:25 [INFO] [stderr] | [INFO] [stderr] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sql` [INFO] [stderr] --> src/connector/transaction.rs:610:40 [INFO] [stderr] | [INFO] [stderr] 610 | async fn sql(&self, model: &Model, sql: &str, transaction_ctx: Ctx) -> Result> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stderr] [INFO] [stderr] warning: associated function `encode_without_default_type` is never used [INFO] [stderr] --> src/bson_ext/coder.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 16 | impl BsonCoder { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 17 | [INFO] [stderr] 18 | pub(crate) fn encode_without_default_type(value: &Value) -> Bson { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `teo-mongodb-connector` (lib) generated 12 warnings (run `cargo fix --lib -p teo-mongodb-connector` to apply 11 suggestions) [INFO] [stderr] warning: `teo-mongodb-connector` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/teo_mongodb_connector-ca652bc8c5441d7c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests teo_mongodb_connector [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" "6ba925a883d13c39c8b9242d62cc72941cbe372ceba1939f4ba27d5e568e4d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba925a883d13c39c8b9242d62cc72941cbe372ceba1939f4ba27d5e568e4d18", kill_on_drop: false }` [INFO] [stdout] 6ba925a883d13c39c8b9242d62cc72941cbe372ceba1939f4ba27d5e568e4d18