[INFO] fetching crate sudodb 0.4.3... [INFO] building sudodb-0.4.3 against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] extracting crate sudodb 0.4.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sudodb 0.4.3 on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sudodb 0.4.3 [INFO] finished tweaking crates.io crate sudodb 0.4.3 [INFO] tweaked toml for crates.io crate sudodb 0.4.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded ic-cdk v0.2.4 [INFO] [stderr] Downloaded codespan-reporting v0.9.5 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded candid_derive v0.4.4 [INFO] [stderr] Downloaded candid v0.6.21 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded ic-types v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ac472133a8d91a6c6c6a69266db744a8ab886ab41f5289bbb2ae72dca8556f9 [INFO] running `Command { std: "docker" "start" "-a" "9ac472133a8d91a6c6c6a69266db744a8ab886ab41f5289bbb2ae72dca8556f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ac472133a8d91a6c6c6a69266db744a8ab886ab41f5289bbb2ae72dca8556f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ac472133a8d91a6c6c6a69266db744a8ab886ab41f5289bbb2ae72dca8556f9", kill_on_drop: false }` [INFO] [stdout] 9ac472133a8d91a6c6c6a69266db744a8ab886ab41f5289bbb2ae72dca8556f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae9913edec64c3d6b7d3f37bf0f6cb8ffd8c016ca1b6cfcc8866596cb1fac3fe [INFO] running `Command { std: "docker" "start" "-a" "ae9913edec64c3d6b7d3f37bf0f6cb8ffd8c016ca1b6cfcc8866596cb1fac3fe", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.47 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling codespan-reporting v0.9.5 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_bytes v0.11.7 [INFO] [stderr] Compiling ic-types v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling candid v0.6.21 [INFO] [stderr] Compiling ic-cdk v0.2.4 [INFO] [stderr] Compiling sudodb v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ic_cdk` [INFO] [stdout] --> src/read.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use ic_cdk; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_mutable_object_type` [INFO] [stdout] --> src/clear.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | get_mutable_object_type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | field_values_store_iterator: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - field_values_store_iterator: &mut Iterator, [INFO] [stdout] 75 + field_values_store_iterator: &mut dyn Iterator, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read.rs:164:39 [INFO] [stdout] | [INFO] [stdout] 164 | field_values_store_iterator: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - field_values_store_iterator: &mut Iterator, [INFO] [stdout] 164 + field_values_store_iterator: &mut dyn Iterator, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | field_value_stores: &mut Iterator, // TODO why does this have to be borrowed as mutable? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 - field_value_stores: &mut Iterator, // TODO why does this have to be borrowed as mutable? [INFO] [stdout] 194 + field_value_stores: &mut dyn Iterator, // TODO why does this have to be borrowed as mutable? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/create.rs:273:34 [INFO] [stdout] | [INFO] [stdout] 273 | FieldType::RelationMany((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/create.rs:352:33 [INFO] [stdout] | [INFO] [stdout] 352 | FieldType::RelationOne((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit_option` [INFO] [stdout] --> src/read.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | limit_option: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limit_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_option` [INFO] [stdout] --> src/read.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | offset_option: Option [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/read.rs:204:113 [INFO] [stdout] | [INFO] [stdout] 204 | let matching_field_value_stores = field_value_stores.into_iter().enumerate().try_fold(vec![], |mut result, (index, field_value_store)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | FieldType::Blob(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:446:36 [INFO] [stdout] | [INFO] [stdout] 446 | FieldType::Boolean(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:452:33 [INFO] [stdout] | [INFO] [stdout] 452 | FieldType::Date(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:458:34 [INFO] [stdout] | [INFO] [stdout] 458 | FieldType::Float(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:464:32 [INFO] [stdout] | [INFO] [stdout] 464 | FieldType::Int(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | FieldType::JSON(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:476:35 [INFO] [stdout] | [INFO] [stdout] 476 | FieldType::String(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:482:42 [INFO] [stdout] | [INFO] [stdout] 482 | FieldType::RelationMany((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:490:41 [INFO] [stdout] | [INFO] [stdout] 490 | FieldType::RelationOne((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/update.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | FieldType::RelationMany((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/update.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | FieldType::RelationOne((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "ae9913edec64c3d6b7d3f37bf0f6cb8ffd8c016ca1b6cfcc8866596cb1fac3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae9913edec64c3d6b7d3f37bf0f6cb8ffd8c016ca1b6cfcc8866596cb1fac3fe", kill_on_drop: false }` [INFO] [stdout] ae9913edec64c3d6b7d3f37bf0f6cb8ffd8c016ca1b6cfcc8866596cb1fac3fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5b4a64aa3fce055c16f1d07b985d910de443dfa73730694452939e50c3c1d39 [INFO] running `Command { std: "docker" "start" "-a" "d5b4a64aa3fce055c16f1d07b985d910de443dfa73730694452939e50c3c1d39", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `ic_cdk` [INFO] [stdout] --> src/read.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use ic_cdk; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_mutable_object_type` [INFO] [stdout] --> src/clear.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | get_mutable_object_type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | field_values_store_iterator: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - field_values_store_iterator: &mut Iterator, [INFO] [stdout] 75 + field_values_store_iterator: &mut dyn Iterator, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read.rs:164:39 [INFO] [stdout] | [INFO] [stdout] 164 | field_values_store_iterator: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - field_values_store_iterator: &mut Iterator, [INFO] [stdout] 164 + field_values_store_iterator: &mut dyn Iterator, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | field_value_stores: &mut Iterator, // TODO why does this have to be borrowed as mutable? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 - field_value_stores: &mut Iterator, // TODO why does this have to be borrowed as mutable? [INFO] [stdout] 194 + field_value_stores: &mut dyn Iterator, // TODO why does this have to be borrowed as mutable? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/create.rs:273:34 [INFO] [stdout] | [INFO] [stdout] 273 | FieldType::RelationMany((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/create.rs:352:33 [INFO] [stdout] | [INFO] [stdout] 352 | FieldType::RelationOne((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit_option` [INFO] [stdout] --> src/read.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | limit_option: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limit_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_option` [INFO] [stdout] --> src/read.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | offset_option: Option [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/read.rs:204:113 [INFO] [stdout] | [INFO] [stdout] 204 | let matching_field_value_stores = field_value_stores.into_iter().enumerate().try_fold(vec![], |mut result, (index, field_value_store)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | FieldType::Blob(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:446:36 [INFO] [stdout] | [INFO] [stdout] 446 | FieldType::Boolean(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:452:33 [INFO] [stdout] | [INFO] [stdout] 452 | FieldType::Date(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:458:34 [INFO] [stdout] | [INFO] [stdout] 458 | FieldType::Float(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:464:32 [INFO] [stdout] | [INFO] [stdout] 464 | FieldType::Int(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | FieldType::JSON(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:476:35 [INFO] [stdout] | [INFO] [stdout] 476 | FieldType::String(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:482:42 [INFO] [stdout] | [INFO] [stdout] 482 | FieldType::RelationMany((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:490:41 [INFO] [stdout] | [INFO] [stdout] 490 | FieldType::RelationOne((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/update.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | FieldType::RelationMany((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sudodb v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/update.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | FieldType::RelationOne((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk` [INFO] [stdout] --> src/read.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use ic_cdk; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_mutable_object_type` [INFO] [stdout] --> src/clear.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | get_mutable_object_type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | field_values_store_iterator: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - field_values_store_iterator: &mut Iterator, [INFO] [stdout] 75 + field_values_store_iterator: &mut dyn Iterator, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read.rs:164:39 [INFO] [stdout] | [INFO] [stdout] 164 | field_values_store_iterator: &mut Iterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - field_values_store_iterator: &mut Iterator, [INFO] [stdout] 164 + field_values_store_iterator: &mut dyn Iterator, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/read.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | field_value_stores: &mut Iterator, // TODO why does this have to be borrowed as mutable? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 - field_value_stores: &mut Iterator, // TODO why does this have to be borrowed as mutable? [INFO] [stdout] 194 + field_value_stores: &mut dyn Iterator, // TODO why does this have to be borrowed as mutable? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/create.rs:273:34 [INFO] [stdout] | [INFO] [stdout] 273 | FieldType::RelationMany((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/create.rs:352:33 [INFO] [stdout] | [INFO] [stdout] 352 | FieldType::RelationOne((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit_option` [INFO] [stdout] --> src/read.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | limit_option: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limit_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_option` [INFO] [stdout] --> src/read.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | offset_option: Option [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/read.rs:204:113 [INFO] [stdout] | [INFO] [stdout] 204 | let matching_field_value_stores = field_value_stores.into_iter().enumerate().try_fold(vec![], |mut result, (index, field_value_store)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | FieldType::Blob(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:446:36 [INFO] [stdout] | [INFO] [stdout] 446 | FieldType::Boolean(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:452:33 [INFO] [stdout] | [INFO] [stdout] 452 | FieldType::Date(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:458:34 [INFO] [stdout] | [INFO] [stdout] 458 | FieldType::Float(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:464:32 [INFO] [stdout] | [INFO] [stdout] 464 | FieldType::Int(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | FieldType::JSON(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:476:35 [INFO] [stdout] | [INFO] [stdout] 476 | FieldType::String(nullable) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:482:42 [INFO] [stdout] | [INFO] [stdout] 482 | FieldType::RelationMany((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/read.rs:490:41 [INFO] [stdout] | [INFO] [stdout] 490 | FieldType::RelationOne((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/update.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | FieldType::RelationMany((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nullable` [INFO] [stdout] --> src/update.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | FieldType::RelationOne((nullable, field_type_relation_info)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "d5b4a64aa3fce055c16f1d07b985d910de443dfa73730694452939e50c3c1d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b4a64aa3fce055c16f1d07b985d910de443dfa73730694452939e50c3c1d39", kill_on_drop: false }` [INFO] [stdout] d5b4a64aa3fce055c16f1d07b985d910de443dfa73730694452939e50c3c1d39