[INFO] fetching crate sane 0.2.1... [INFO] testing sane-0.2.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate sane 0.2.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sane 0.2.1 [INFO] finished tweaking crates.io crate sane 0.2.1 [INFO] tweaked toml for crates.io crate sane 0.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sane 0.2.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e0e1d18c45b903157e016f8298be6acafa6a421723575199bddb2438361f0b1 [INFO] running `Command { std: "docker" "start" "-a" "1e0e1d18c45b903157e016f8298be6acafa6a421723575199bddb2438361f0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e0e1d18c45b903157e016f8298be6acafa6a421723575199bddb2438361f0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0e1d18c45b903157e016f8298be6acafa6a421723575199bddb2438361f0b1", kill_on_drop: false }` [INFO] [stdout] 1e0e1d18c45b903157e016f8298be6acafa6a421723575199bddb2438361f0b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96ecce16a09da3bb90cc482076f0df9092955899b394f8c0f8f8e613198a9210 [INFO] running `Command { std: "docker" "start" "-a" "96ecce16a09da3bb90cc482076f0df9092955899b394f8c0f8f8e613198a9210", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling sane v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datetime.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:28 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:1000:24 [INFO] [stdout] | [INFO] [stdout] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut FnMut( [INFO] [stdout] | ______________________^ [INFO] [stdout] 298 | | &mut Tokenizer, [INFO] [stdout] 299 | | &mut MaybeString, [INFO] [stdout] 300 | | bool, [INFO] [stdout] 301 | | usize, [INFO] [stdout] 302 | | char, [INFO] [stdout] 303 | | ) -> Result<(), Error>, [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut dyn FnMut( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | drop(write!(self.dst, "{}", t)); [INFO] [stdout] | ^^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 431 - drop(write!(self.dst, "{}", t)); [INFO] [stdout] 431 + let _ = write!(self.dst, "{}", t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | drop(write!(self.dst, "{}", key)); [INFO] [stdout] | ^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 524 - drop(write!(self.dst, "{}", key)); [INFO] [stdout] 524 + let _ = write!(self.dst, "{}", key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "96ecce16a09da3bb90cc482076f0df9092955899b394f8c0f8f8e613198a9210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ecce16a09da3bb90cc482076f0df9092955899b394f8c0f8f8e613198a9210", kill_on_drop: false }` [INFO] [stdout] 96ecce16a09da3bb90cc482076f0df9092955899b394f8c0f8f8e613198a9210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 194baacef86ac3ebdc19d768c51ac9f0184db3f76c7855ff2dfed52c46dc3c31 [INFO] running `Command { std: "docker" "start" "-a" "194baacef86ac3ebdc19d768c51ac9f0184db3f76c7855ff2dfed52c46dc3c31", kill_on_drop: false }` [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datetime.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:28 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:1000:24 [INFO] [stdout] | [INFO] [stdout] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut FnMut( [INFO] [stdout] | ______________________^ [INFO] [stdout] 298 | | &mut Tokenizer, [INFO] [stdout] 299 | | &mut MaybeString, [INFO] [stdout] 300 | | bool, [INFO] [stdout] 301 | | usize, [INFO] [stdout] 302 | | char, [INFO] [stdout] 303 | | ) -> Result<(), Error>, [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut dyn FnMut( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | drop(write!(self.dst, "{}", t)); [INFO] [stdout] | ^^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 431 - drop(write!(self.dst, "{}", t)); [INFO] [stdout] 431 + let _ = write!(self.dst, "{}", t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | drop(write!(self.dst, "{}", key)); [INFO] [stdout] | ^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 524 - drop(write!(self.dst, "{}", key)); [INFO] [stdout] 524 + let _ = write!(self.dst, "{}", key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sane v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/datetime.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:28 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:520:40 [INFO] [stdout] | [INFO] [stdout] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ser.rs:1000:24 [INFO] [stdout] | [INFO] [stdout] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `IntoDeserializer` [INFO] [stdout] --> src/macros.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | pub use serde::de::{Deserialize, IntoDeserializer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut FnMut( [INFO] [stdout] | ______________________^ [INFO] [stdout] 298 | | &mut Tokenizer, [INFO] [stdout] 299 | | &mut MaybeString, [INFO] [stdout] 300 | | bool, [INFO] [stdout] 301 | | usize, [INFO] [stdout] 302 | | char, [INFO] [stdout] 303 | | ) -> Result<(), Error>, [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 297 | new_ch: &mut dyn FnMut( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global_string`, `global_integer`, `server`, and `peers` are never read [INFO] [stdout] --> examples/decode.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | global_string: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | global_integer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | server: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | peers: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> examples/decode.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip` and `port` are never read [INFO] [stdout] --> examples/decode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | ip: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | port: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip` and `port` are never read [INFO] [stdout] --> examples/decode.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct PeerConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | ip: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | port: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | drop(write!(self.dst, "{}", t)); [INFO] [stdout] | ^^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 431 - drop(write!(self.dst, "{}", t)); [INFO] [stdout] 431 + let _ = write!(self.dst, "{}", t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | drop(write!(self.dst, "{}", key)); [INFO] [stdout] | ^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 524 - drop(write!(self.dst, "{}", key)); [INFO] [stdout] 524 + let _ = write!(self.dst, "{}", key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | drop(write!($this.dst, "-")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 759 - drop(write!($this.dst, "-")); [INFO] [stdout] 759 + let _ = write!($this.dst, "-"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | drop(write!($this.dst, "nan")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 762 - drop(write!($this.dst, "nan")); [INFO] [stdout] 762 + let _ = write!($this.dst, "nan"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:764:13 [INFO] [stdout] | [INFO] [stdout] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stdout] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ser.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | drop(write!($this.dst, ".0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | serialize_float!(self, v) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), std::fmt::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 767 - drop(write!($this.dst, ".0")); [INFO] [stdout] 767 + let _ = write!($this.dst, ".0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 517 | fn into_cow(self, input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "194baacef86ac3ebdc19d768c51ac9f0184db3f76c7855ff2dfed52c46dc3c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "194baacef86ac3ebdc19d768c51ac9f0184db3f76c7855ff2dfed52c46dc3c31", kill_on_drop: false }` [INFO] [stdout] 194baacef86ac3ebdc19d768c51ac9f0184db3f76c7855ff2dfed52c46dc3c31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0a3648c34f6da70b04ef22ffb826064defecc1041ba250ec6b3662007108735 [INFO] running `Command { std: "docker" "start" "-a" "b0a3648c34f6da70b04ef22ffb826064defecc1041ba250ec6b3662007108735", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/datetime.rs:210:29 [INFO] [stderr] | [INFO] [stderr] 210 | b'0'...b'9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:482:20 [INFO] [stderr] | [INFO] [stderr] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:520:16 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:520:28 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:520:40 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:1000:24 [INFO] [stderr] | [INFO] [stderr] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tokens.rs:297:22 [INFO] [stderr] | [INFO] [stderr] 297 | new_ch: &mut FnMut( [INFO] [stderr] | ______________________^ [INFO] [stderr] 298 | | &mut Tokenizer, [INFO] [stderr] 299 | | &mut MaybeString, [INFO] [stderr] 300 | | bool, [INFO] [stderr] 301 | | usize, [INFO] [stderr] 302 | | char, [INFO] [stderr] 303 | | ) -> Result<(), Error>, [INFO] [stderr] | |______________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 297 | new_ch: &mut dyn FnMut( [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:431:9 [INFO] [stderr] | [INFO] [stderr] 431 | drop(write!(self.dst, "{}", t)); [INFO] [stderr] | ^^^^^-------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 431 - drop(write!(self.dst, "{}", t)); [INFO] [stderr] 431 + let _ = write!(self.dst, "{}", t); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:524:13 [INFO] [stderr] | [INFO] [stderr] 524 | drop(write!(self.dst, "{}", key)); [INFO] [stderr] | ^^^^^---------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 524 - drop(write!(self.dst, "{}", key)); [INFO] [stderr] 524 + let _ = write!(self.dst, "{}", key); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:759:13 [INFO] [stderr] | [INFO] [stderr] 759 | drop(write!($this.dst, "-")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 824 | serialize_float!(self, v) [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 759 - drop(write!($this.dst, "-")); [INFO] [stderr] 759 + let _ = write!($this.dst, "-"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:762:13 [INFO] [stderr] | [INFO] [stderr] 762 | drop(write!($this.dst, "nan")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 824 | serialize_float!(self, v) [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 762 - drop(write!($this.dst, "nan")); [INFO] [stderr] 762 + let _ = write!($this.dst, "nan"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:764:13 [INFO] [stderr] | [INFO] [stderr] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 824 | serialize_float!(self, v) [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stderr] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:767:13 [INFO] [stderr] | [INFO] [stderr] 767 | drop(write!($this.dst, ".0")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 824 | serialize_float!(self, v) [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 767 - drop(write!($this.dst, ".0")); [INFO] [stderr] 767 + let _ = write!($this.dst, ".0"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:759:13 [INFO] [stderr] | [INFO] [stderr] 759 | drop(write!($this.dst, "-")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 828 | serialize_float!(self, v) [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 759 - drop(write!($this.dst, "-")); [INFO] [stderr] 759 + let _ = write!($this.dst, "-"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:762:13 [INFO] [stderr] | [INFO] [stderr] 762 | drop(write!($this.dst, "nan")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 828 | serialize_float!(self, v) [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 762 - drop(write!($this.dst, "nan")); [INFO] [stderr] 762 + let _ = write!($this.dst, "nan"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:764:13 [INFO] [stderr] | [INFO] [stderr] 764 | drop(write!($this.dst, "{}", $v)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 828 | serialize_float!(self, v) [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 764 - drop(write!($this.dst, "{}", $v)); [INFO] [stderr] 764 + let _ = write!($this.dst, "{}", $v); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/ser.rs:767:13 [INFO] [stderr] | [INFO] [stderr] 767 | drop(write!($this.dst, ".0")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 828 | serialize_float!(self, v) [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | argument has type `Result<(), std::fmt::Error>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 767 - drop(write!($this.dst, ".0")); [INFO] [stderr] 767 + let _ = write!($this.dst, ".0"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/tokens.rs:517:30 [INFO] [stderr] | [INFO] [stderr] 517 | fn into_cow(self, input: &str) -> Cow { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 517 | fn into_cow(self, input: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `sane` (lib) generated 18 warnings (run `cargo fix --lib -p sane` to apply 8 suggestions) [INFO] [stderr] warning: fields `global_string`, `global_integer`, `server`, and `peers` are never read [INFO] [stderr] --> examples/decode.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 13 | global_string: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 14 | global_integer: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 15 | server: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | peers: Option>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> examples/decode.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: fields `ip` and `port` are never read [INFO] [stderr] --> examples/decode.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | struct ServerConfig { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 25 | ip: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 26 | port: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `ip` and `port` are never read [INFO] [stderr] --> examples/decode.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 30 | struct PeerConfig { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 31 | ip: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 32 | port: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PeerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `IntoDeserializer` [INFO] [stderr] --> src/macros.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | pub use serde::de::{Deserialize, IntoDeserializer}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `sane` (example "decode") generated 3 warnings [INFO] [stderr] warning: `sane` (lib test) generated 19 warnings (18 duplicates) (run `cargo fix --lib -p sane --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sane-24b9efbb64ad452b) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tokens::tests::all ... ok [INFO] [stdout] test tokens::tests::bad_comment ... ok [INFO] [stdout] test tokens::tests::basic_strings ... ok [INFO] [stdout] test tokens::tests::bare_cr_bad ... ok [INFO] [stdout] test tokens::tests::keylike ... ok [INFO] [stdout] test tokens::tests::literal_strings ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sane [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/datetime.rs:210:29 [INFO] [stderr] | [INFO] [stderr] 210 | b'0'...b'9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:482:20 [INFO] [stderr] | [INFO] [stderr] 482 | (Some(0...1), _) | (_, &None) => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:520:16 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:520:28 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:520:40 [INFO] [stderr] | [INFO] [stderr] 520 | 'a'...'z' | 'A'...'Z' | '0'...'9' | '-' | '_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ser.rs:1000:24 [INFO] [stderr] | [INFO] [stderr] 1000 | (Some(0...1), _) | (_, &None) => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 13) ... ignored [INFO] [stdout] test src/ser.rs - ser::tables_last (line 1586) ... FAILED [INFO] [stdout] test src/lib.rs - (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - (line 61) ... FAILED [INFO] [stdout] test src/ser.rs - ser (line 14) ... FAILED [INFO] [stdout] test src/macros.rs - macros::sane (line 9) ... FAILED [INFO] [stdout] test src/spanned.rs - spanned (line 1) ... FAILED [INFO] [stdout] test src/de.rs - de::from_str (line 43) ... FAILED [INFO] [stdout] test src/ser.rs - ser::to_string (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ser.rs - ser::tables_last (line 1586) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/ser.rs:1587:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/ser.rs:1590:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 4 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/ser.rs:1593:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[serde(serialize_with = "sane::ser::tables_last")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 97) stdout ---- [INFO] [stdout] error[E0254]: the name `sane` is defined multiple times [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#sane; [INFO] [stdout] | -------------------- previous import of the extern crate `sane` here [INFO] [stdout] 4 | use serde::{Serialize}; [INFO] [stdout] 5 | use sane; [INFO] [stdout] | ^^^^ `sane` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `sane` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 61) stdout ---- [INFO] [stdout] error[E0254]: the name `sane` is defined multiple times [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#sane; [INFO] [stdout] | -------------------- previous import of the extern crate `sane` here [INFO] [stdout] 4 | use serde::{Deserialize} ; [INFO] [stdout] 5 | use sane; [INFO] [stdout] | ^^^^ `sane` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `sane` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ser.rs - ser (line 14) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/ser.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/ser.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 4 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/ser.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[serde(serialize_with = "sane::ser::tables_last")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::sane (line 9) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_sane` in `$crate::macros` [INFO] [stdout] --> src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________^ [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____^ not found in `$crate::macros` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sane_internal` which comes from the expansion of the macro `sane` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let de = $crate::macros::IntoDeserializer::<$crate::de::Error>::into_deserializer($v); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `into_deserializer` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | <$crate::Value as $crate::macros::Deserialize>::deserialize(de).unwrap() [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `deserialize` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let de = $crate::macros::IntoDeserializer::<$crate::de::Error>::into_deserializer($v); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `into_deserializer` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | <$crate::Value as $crate::macros::Deserialize>::deserialize(de).unwrap() [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `deserialize` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let de = $crate::macros::IntoDeserializer::<$crate::de::Error>::into_deserializer($v); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `into_deserializer` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | <$crate::Value as $crate::macros::Deserialize>::deserialize(de).unwrap() [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `deserialize` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let de = $crate::macros::IntoDeserializer::<$crate::de::Error>::into_deserializer($v); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `into_deserializer` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | <$crate::Value as $crate::macros::Deserialize>::deserialize(de).unwrap() [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `deserialize` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let de = $crate::macros::IntoDeserializer::<$crate::de::Error>::into_deserializer($v); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `into_deserializer` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | <$crate::Value as $crate::macros::Deserialize>::deserialize(de).unwrap() [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `deserialize` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let de = $crate::macros::IntoDeserializer::<$crate::de::Error>::into_deserializer($v); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `into_deserializer` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | <$crate::Value as $crate::macros::Deserialize>::deserialize(de).unwrap() [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `deserialize` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | $crate::macros::insert_sane( [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- module `macros` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let de = $crate::macros::IntoDeserializer::<$crate::de::Error>::into_deserializer($v); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `into_deserializer` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `macros` is private [INFO] [stdout] --> /opt/rustwide/workdir/src/macros.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | <$crate::Value as $crate::macros::Deserialize>::deserialize(de).unwrap() [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 5 | let cargo_sane = sane! { [INFO] [stdout] | ______________________- [INFO] [stdout] 6 | | [package] [INFO] [stdout] 7 | | name = "sane" [INFO] [stdout] 8 | | version = "0.4.5" [INFO] [stdout] ... | [INFO] [stdout] 19 | | serde_json = "1.0" [INFO] [stdout] 20 | | }; [INFO] [stdout] | |_____- associated function `deserialize` is not publicly re-exported [INFO] [stdout] | [INFO] [stdout] note: the module `macros` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | mod macros; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/spanned.rs - spanned (line 1) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/spanned.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/spanned.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 6 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Value: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/spanned.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let u: Value = sane::from_str(t).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::de::Deserialize<'_>` is not implemented for `Value` [INFO] [stdout] --> src/spanned.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Value` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `sane::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn from_str<'de, T>(s: &'de str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 69 | where [INFO] [stdout] 70 | T: de::Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_str (line 43) stdout ---- [INFO] [stdout] error[E0254]: the name `sane` is defined multiple times [INFO] [stdout] --> src/de.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#sane; [INFO] [stdout] | -------------------- previous import of the extern crate `sane` here [INFO] [stdout] 4 | use serde::{Deserialize}; [INFO] [stdout] 5 | use sane; [INFO] [stdout] | ^^^^ `sane` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `sane` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ser.rs - ser::to_string (line 58) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/ser.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/ser.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/ser.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::Serialize` is not satisfied [INFO] [stdout] --> src/ser.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 28 | let sane = sane::to_string(&config).unwrap(); [INFO] [stdout] | --------------- ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `Config` [INFO] [stdout] --> src/ser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Config` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 129 others [INFO] [stdout] note: required by a bound in `sane::to_string` [INFO] [stdout] --> /opt/rustwide/workdir/src/ser.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 91 | where [INFO] [stdout] 92 | T: ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/de.rs - de::from_str (line 43) [INFO] [stdout] src/lib.rs - (line 61) [INFO] [stdout] src/lib.rs - (line 97) [INFO] [stdout] src/macros.rs - macros::sane (line 9) [INFO] [stdout] src/ser.rs - ser (line 14) [INFO] [stdout] src/ser.rs - ser::tables_last (line 1586) [INFO] [stdout] src/ser.rs - ser::to_string (line 58) [INFO] [stdout] src/spanned.rs - spanned (line 1) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 8 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b0a3648c34f6da70b04ef22ffb826064defecc1041ba250ec6b3662007108735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a3648c34f6da70b04ef22ffb826064defecc1041ba250ec6b3662007108735", kill_on_drop: false }` [INFO] [stdout] b0a3648c34f6da70b04ef22ffb826064defecc1041ba250ec6b3662007108735