[INFO] cloning repository https://github.com/Kousay-Jebir/lb-rs-prototype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kousay-Jebir/lb-rs-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKousay-Jebir%2Flb-rs-prototype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKousay-Jebir%2Flb-rs-prototype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 127bb4a9691fa210efd4e266845b8f4a103a0764 [INFO] testing Kousay-Jebir/lb-rs-prototype against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKousay-Jebir%2Flb-rs-prototype" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kousay-Jebir/lb-rs-prototype [INFO] finished tweaking git repo https://github.com/Kousay-Jebir/lb-rs-prototype [INFO] tweaked toml for git repo https://github.com/Kousay-Jebir/lb-rs-prototype written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kousay-Jebir/lb-rs-prototype on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kousay-Jebir/lb-rs-prototype 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc2d0343096d58bed4486ba71c6cdf4c3ebd6c36c7b04cfe94a64fe8de7d3a10 [INFO] running `Command { std: "docker" "start" "-a" "cc2d0343096d58bed4486ba71c6cdf4c3ebd6c36c7b04cfe94a64fe8de7d3a10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2d0343096d58bed4486ba71c6cdf4c3ebd6c36c7b04cfe94a64fe8de7d3a10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2d0343096d58bed4486ba71c6cdf4c3ebd6c36c7b04cfe94a64fe8de7d3a10", kill_on_drop: false }` [INFO] [stdout] cc2d0343096d58bed4486ba71c6cdf4c3ebd6c36c7b04cfe94a64fe8de7d3a10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6522face3ebf6938fa8d9475f68811f45a25293247553ba06aebb5b5b637f1b [INFO] running `Command { std: "docker" "start" "-a" "f6522face3ebf6938fa8d9475f68811f45a25293247553ba06aebb5b5b637f1b", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling ownedbytes v0.7.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tantivy-bitpacker v0.6.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling kurbo v0.11.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling unicode-ccc v0.2.0 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling measure_time v0.8.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling tantivy-query-grammar v0.22.0 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling fontdb v0.16.2 [INFO] [stderr] Compiling rustybuzz v0.13.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling imagesize v0.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling roxmltree v0.19.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling cryptoxide v0.4.4 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling qrcodegen v1.8.0 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling qrcode-generator v4.1.9 [INFO] [stderr] Compiling usvg v0.41.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bip39-dict v0.1.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tantivy-tokenizer-api v0.3.0 [INFO] [stderr] Compiling glam v0.22.0 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling db-rs v0.3.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling db-rs-derive v0.3.2 [INFO] [stderr] Compiling bezier-rs v0.2.0 [INFO] [stderr] Compiling tantivy-common v0.7.0 [INFO] [stderr] Compiling basic-human-duration v0.2.0 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling tantivy-sstable v0.3.0 [INFO] [stderr] Compiling tantivy-stacker v0.3.0 [INFO] [stderr] Compiling tantivy-columnar v0.3.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tantivy v0.22.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling lb-rs-prototype v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `no-network` [INFO] [stdout] --> src/io/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "no-network", derive(Clone))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `no-network` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err` is never read [INFO] [stdout] --> src/bin/enum_approach.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LbErr { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2 | err: &'static str [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/bin/enum_approach.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct LbInner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | field: usize [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_other_stuff` is never used [INFO] [stdout] --> src/bin/enum_approach.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl LbInner { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | fn do_other_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_other_stuff` is never used [INFO] [stdout] --> src/bin/enum_approach.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl LbProxy { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn do_other_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_other_stuff` is never used [INFO] [stdout] --> src/bin/enum_approach.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Lb { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn do_other_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/enum_approach.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | lb.do_stuff(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = lb.do_stuff(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err` is never read [INFO] [stdout] --> src/bin/trait_approach.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LbErr { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | err: &'static str [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LbErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/bin/trait_approach.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct RealLb { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | field: usize [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lb` and `rt` are never read [INFO] [stdout] --> src/bin/trait_approach.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct BlockingLb { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 69 | lb: Box, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | rt: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `do_stuff`, and `do_other_stuff` are never used [INFO] [stdout] --> src/bin/trait_approach.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl BlockingLb { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 74 | [INFO] [stdout] 75 | fn init(flag: bool) -> LbResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn do_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn do_other_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/trait_approach.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | lb.do_stuff().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = lb.do_stuff().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/trait_approach.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | lb.do_other_stuff().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = lb.do_other_stuff().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "f6522face3ebf6938fa8d9475f68811f45a25293247553ba06aebb5b5b637f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6522face3ebf6938fa8d9475f68811f45a25293247553ba06aebb5b5b637f1b", kill_on_drop: false }` [INFO] [stdout] f6522face3ebf6938fa8d9475f68811f45a25293247553ba06aebb5b5b637f1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8a6577c5e999589bc19be4cba68984db857a3117a87562b20fc8291610b70de [INFO] running `Command { std: "docker" "start" "-a" "d8a6577c5e999589bc19be4cba68984db857a3117a87562b20fc8291610b70de", kill_on_drop: false }` [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling variant_count v1.1.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `no-network` [INFO] [stdout] --> src/io/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "no-network", derive(Clone))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `no-network` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling indicatif v0.17.0-rc.11 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling lb-rs-prototype v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `err` is never read [INFO] [stdout] --> src/bin/enum_approach.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LbErr { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2 | err: &'static str [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/bin/enum_approach.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct LbInner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | field: usize [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_other_stuff` is never used [INFO] [stdout] --> src/bin/enum_approach.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl LbInner { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | fn do_other_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_other_stuff` is never used [INFO] [stdout] --> src/bin/enum_approach.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl LbProxy { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn do_other_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_other_stuff` is never used [INFO] [stdout] --> src/bin/enum_approach.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Lb { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn do_other_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/enum_approach.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | lb.do_stuff(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = lb.do_stuff(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err` is never read [INFO] [stdout] --> src/bin/trait_approach.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LbErr { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | err: &'static str [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LbErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> src/bin/trait_approach.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct RealLb { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | field: usize [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lb` and `rt` are never read [INFO] [stdout] --> src/bin/trait_approach.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct BlockingLb { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 69 | lb: Box, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | rt: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `do_stuff`, and `do_other_stuff` are never used [INFO] [stdout] --> src/bin/trait_approach.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl BlockingLb { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 74 | [INFO] [stdout] 75 | fn init(flag: bool) -> LbResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn do_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn do_other_stuff(&self) -> LbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/trait_approach.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | lb.do_stuff().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = lb.do_stuff().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/trait_approach.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | lb.do_other_stuff().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = lb.do_other_stuff().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no-network` [INFO] [stdout] --> src/io/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "no-network", derive(Clone))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `no-network` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.82s [INFO] running `Command { std: "docker" "inspect" "d8a6577c5e999589bc19be4cba68984db857a3117a87562b20fc8291610b70de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8a6577c5e999589bc19be4cba68984db857a3117a87562b20fc8291610b70de", kill_on_drop: false }` [INFO] [stdout] d8a6577c5e999589bc19be4cba68984db857a3117a87562b20fc8291610b70de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b8340d7ec0c42449811b69cc41f8ea71c252413ca8db3d7d79df4f74be97fbe [INFO] running `Command { std: "docker" "start" "-a" "6b8340d7ec0c42449811b69cc41f8ea71c252413ca8db3d7d79df4f74be97fbe", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `no-network` [INFO] [stderr] --> src/io/mod.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | #[cfg_attr(feature = "no-network", derive(Clone))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `no-network` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lb-rs-prototype` (lib) generated 1 warning [INFO] [stderr] warning: field `err` is never read [INFO] [stderr] --> src/bin/trait_approach.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct LbErr { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 4 | err: &'static str [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LbErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/bin/trait_approach.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | struct RealLb { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 14 | field: usize [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `lb` and `rt` are never read [INFO] [stderr] --> src/bin/trait_approach.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct BlockingLb { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 69 | lb: Box, [INFO] [stderr] | ^^ [INFO] [stderr] 70 | rt: Arc, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `init`, `do_stuff`, and `do_other_stuff` are never used [INFO] [stderr] --> src/bin/trait_approach.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 73 | impl BlockingLb { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 74 | [INFO] [stderr] 75 | fn init(flag: bool) -> LbResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | fn do_stuff(&self) -> LbResult { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | fn do_other_stuff(&self) -> LbResult { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/trait_approach.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | lb.do_stuff().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 108 | let _ = lb.do_stuff().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/trait_approach.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | lb.do_other_stuff().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 109 | let _ = lb.do_other_stuff().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: field `err` is never read [INFO] [stderr] --> src/bin/enum_approach.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct LbErr { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 2 | err: &'static str [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `field` is never read [INFO] [stderr] --> src/bin/enum_approach.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | struct LbInner { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 8 | field: usize [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `do_other_stuff` is never used [INFO] [stderr] --> src/bin/enum_approach.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 11 | impl LbInner { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 17 | fn do_other_stuff(&self) -> LbResult { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `do_other_stuff` is never used [INFO] [stderr] --> src/bin/enum_approach.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 27 | impl LbProxy { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | fn do_other_stuff(&self) -> LbResult { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `do_other_stuff` is never used [INFO] [stderr] --> src/bin/enum_approach.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 45 | impl Lb { [INFO] [stderr] | ------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 53 | fn do_other_stuff(&self) -> LbResult { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/bin/enum_approach.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | lb.do_stuff(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 77 | let _ = lb.do_stuff(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `lb-rs-prototype` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `lb-rs-prototype` (bin "trait_approach" test) generated 6 warnings [INFO] [stderr] warning: `lb-rs-prototype` (bin "enum_approach" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lb_rs_prototype-0bd77c01a7f44f32) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test model::account::test_account_serialization::account_serialize_deserialize ... ok [INFO] [stdout] test model::account::test_account_key_and_phrase::account_key_and_phrase_eq ... ok [INFO] [stdout] test model::account::test_account_serialization::verify_account_v1 ... ok [INFO] [stdout] test model::account::test_account_serialization::verify_account_phrase ... ok [INFO] [stdout] test model::account::test_account_serialization::verify_account_v2 ... ok [INFO] [stdout] test model::filename::unit_tests::test_back_to_name ... ok [INFO] [stdout] test model::filename::unit_tests::test_name_components ... ok [INFO] [stdout] test model::filename::unit_tests::test_next_in_children ... ok [INFO] [stdout] test model::filename::unit_tests::test_next_variant ... ok [INFO] [stdout] test model::secret_filename::unit_tests::test_to_string_from_string ... ok [INFO] [stdout] test model::symkey::unit_tests::test_generate_encrypt_decrypt ... ok [INFO] [stdout] test model::secret_filename::unit_tests::attempt_value_forge ... ok [INFO] [stdout] test model::secret_filename::unit_tests::test_hmac_encryption_failure ... ok [INFO] [stdout] test model::text::buffer::test::buffer_merge_crash ... ok [INFO] [stdout] test model::text::buffer::test::buffer_merge_insert ... ok [INFO] [stdout] test model::text::buffer::test::buffer_merge_insert_replace ... ok [INFO] [stdout] test model::text::buffer::test::buffer_merge_infix_replace ... ok [INFO] [stdout] test model::compression_service::compress_decompress ... ok [INFO] [stdout] test model::text::buffer::test::buffer_merge_postfix_replace ... ok [INFO] [stdout] test model::text::offset_types::test::contains ... ok [INFO] [stdout] test model::text::buffer::test::buffer_merge_prefix_replace ... ok [INFO] [stdout] test model::text::buffer::test::buffer_merge_nonintersecting_replace ... ok [INFO] [stdout] test model::pubkey::unit_tests::same_sk_same_pk_sanity_check ... ok [INFO] [stdout] test model::text::offset_types::test::contains_empty ... ok [INFO] [stdout] test model::text::test::diff_full_replace ... ok [INFO] [stdout] test model::text::test::diff_partial_replace ... ok [INFO] [stdout] test model::pubkey::unit_tests::ec_test_sign_verify_late ... ok [INFO] [stdout] test model::access_info::unit_tests::encrypt_decrypt_2 ... ok [INFO] [stdout] test model::pubkey::unit_tests::ec_test_sign_verify ... ok [INFO] [stdout] test model::pubkey::unit_tests::ec_test_shared_secret_one_party ... ok [INFO] [stdout] test model::pubkey::unit_tests::ec_test_shared_secret_two_parties ... ok [INFO] [stdout] test model::access_info::unit_tests::encrypt_decrypt_1 ... ok [INFO] [stdout] test model::text::test::diff_fuzz ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/enum_approach.rs (/opt/rustwide/target/debug/deps/enum_approach-ec24d4112ffd8626) [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] [stderr] Running unittests src/bin/trait_approach.rs (/opt/rustwide/target/debug/deps/trait_approach-6344fa27a83062a5) [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] [stderr] Doc-tests lb_rs_prototype [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" "6b8340d7ec0c42449811b69cc41f8ea71c252413ca8db3d7d79df4f74be97fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8340d7ec0c42449811b69cc41f8ea71c252413ca8db3d7d79df4f74be97fbe", kill_on_drop: false }` [INFO] [stdout] 6b8340d7ec0c42449811b69cc41f8ea71c252413ca8db3d7d79df4f74be97fbe