[INFO] fetching crate sonnerie-api 0.4.1... [INFO] testing sonnerie-api-0.4.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate sonnerie-api 0.4.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate sonnerie-api 0.4.1 [INFO] finished tweaking crates.io crate sonnerie-api 0.4.1 [INFO] tweaked toml for crates.io crate sonnerie-api 0.4.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sonnerie-api 0.4.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linestream v0.1.0 [INFO] [stderr] Downloaded escape_string v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 809a9410819a05b9160310caba85d13d7952dc32ebbf8190ed79681c5ade3c2f [INFO] running `Command { std: "docker" "start" "-a" "809a9410819a05b9160310caba85d13d7952dc32ebbf8190ed79681c5ade3c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "809a9410819a05b9160310caba85d13d7952dc32ebbf8190ed79681c5ade3c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "809a9410819a05b9160310caba85d13d7952dc32ebbf8190ed79681c5ade3c2f", kill_on_drop: false }` [INFO] [stdout] 809a9410819a05b9160310caba85d13d7952dc32ebbf8190ed79681c5ade3c2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9236f98dae3513e884d6d26a956e39286d164e79101a6acce31f57cfb857b4d4 [INFO] running `Command { std: "docker" "start" "-a" "9236f98dae3513e884d6d26a956e39286d164e79101a6acce31f57cfb857b4d4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling escape_string v0.1.2 [INFO] [stderr] Compiling linestream v0.1.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling sonnerie-api v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 18 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1057:52 [INFO] [stdout] | [INFO] [stdout] 1057 | pub fn row(&mut self, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1057 | pub fn row(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1063:60 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn row_checked(&mut self, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn row_checked(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1132:78 [INFO] [stdout] | [INFO] [stdout] 1132 | pub fn row(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1132 | pub fn row(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1138:86 [INFO] [stdout] | [INFO] [stdout] 1138 | pub fn row_checked(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1138 | pub fn row_checked(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | let from = NaiveDateTime::from_timestamp(0,0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:715:29 [INFO] [stdout] | [INFO] [stdout] 715 | let from = NaiveDateTime::from_timestamp(0,0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/lib.rs:1020:4 [INFO] [stdout] | [INFO] [stdout] 1020 | t.timestamp() as u64 * NANO [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_subsec_nanos`: use `.and_utc().timestamp_subsec_nanos()` instead [INFO] [stdout] --> src/lib.rs:1021:8 [INFO] [stdout] | [INFO] [stdout] 1021 | + (t.timestamp_subsec_nanos() as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:1036:26 [INFO] [stdout] | [INFO] [stdout] 1036 | let ts = NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | NaiveDateTime::from_timestamp((max/NANO) as i64, (max%NANO) as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "9236f98dae3513e884d6d26a956e39286d164e79101a6acce31f57cfb857b4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9236f98dae3513e884d6d26a956e39286d164e79101a6acce31f57cfb857b4d4", kill_on_drop: false }` [INFO] [stdout] 9236f98dae3513e884d6d26a956e39286d164e79101a6acce31f57cfb857b4d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8c5f9ff731c13661bd0d9bac599b5d5448abd5b202acee19484a3ae34c320e8 [INFO] running `Command { std: "docker" "start" "-a" "b8c5f9ff731c13661bd0d9bac599b5d5448abd5b202acee19484a3ae34c320e8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 18 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1057:52 [INFO] [stdout] | [INFO] [stdout] 1057 | pub fn row(&mut self, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1057 | pub fn row(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1063:60 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn row_checked(&mut self, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn row_checked(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1132:78 [INFO] [stdout] | [INFO] [stdout] 1132 | pub fn row(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1132 | pub fn row(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1138:86 [INFO] [stdout] | [INFO] [stdout] 1138 | pub fn row_checked(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1138 | pub fn row_checked(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | let from = NaiveDateTime::from_timestamp(0,0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:715:29 [INFO] [stdout] | [INFO] [stdout] 715 | let from = NaiveDateTime::from_timestamp(0,0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/lib.rs:1020:4 [INFO] [stdout] | [INFO] [stdout] 1020 | t.timestamp() as u64 * NANO [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_subsec_nanos`: use `.and_utc().timestamp_subsec_nanos()` instead [INFO] [stdout] --> src/lib.rs:1021:8 [INFO] [stdout] | [INFO] [stdout] 1021 | + (t.timestamp_subsec_nanos() as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:1036:26 [INFO] [stdout] | [INFO] [stdout] 1036 | let ts = NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | NaiveDateTime::from_timestamp((max/NANO) as i64, (max%NANO) as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sonnerie-api v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 18 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | fn serialize(&self, to: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1057:52 [INFO] [stdout] | [INFO] [stdout] 1057 | pub fn row(&mut self, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1057 | pub fn row(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1063:60 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn row_checked(&mut self, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn row_checked(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1132:78 [INFO] [stdout] | [INFO] [stdout] 1132 | pub fn row(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1132 | pub fn row(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1138:86 [INFO] [stdout] | [INFO] [stdout] 1138 | pub fn row_checked(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1138 | pub fn row_checked(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | let from = NaiveDateTime::from_timestamp(0,0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:715:29 [INFO] [stdout] | [INFO] [stdout] 715 | let from = NaiveDateTime::from_timestamp(0,0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/lib.rs:1020:4 [INFO] [stdout] | [INFO] [stdout] 1020 | t.timestamp() as u64 * NANO [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_subsec_nanos`: use `.and_utc().timestamp_subsec_nanos()` instead [INFO] [stdout] --> src/lib.rs:1021:8 [INFO] [stdout] | [INFO] [stdout] 1021 | + (t.timestamp_subsec_nanos() as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:1036:26 [INFO] [stdout] | [INFO] [stdout] 1036 | let ts = NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | NaiveDateTime::from_timestamp((max/NANO) as i64, (max%NANO) as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "b8c5f9ff731c13661bd0d9bac599b5d5448abd5b202acee19484a3ae34c320e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c5f9ff731c13661bd0d9bac599b5d5448abd5b202acee19484a3ae34c320e8", kill_on_drop: false }` [INFO] [stdout] b8c5f9ff731c13661bd0d9bac599b5d5448abd5b202acee19484a3ae34c320e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d690e5406391d35e87eab6df02324984824fc0c133ae005459a27fdaed31fd87 [INFO] running `Command { std: "docker" "start" "-a" "d690e5406391d35e87eab6df02324984824fc0c133ae005459a27fdaed31fd87", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:18:31 [INFO] [stderr] | [INFO] [stderr] 18 | fn serialize(&self, to: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) 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] 18 | fn serialize(&self, to: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | fn serialize(&self, to: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 | fn serialize(&self, to: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:28:31 [INFO] [stderr] | [INFO] [stderr] 28 | fn serialize(&self, to: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 | fn serialize(&self, to: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:38:31 [INFO] [stderr] | [INFO] [stderr] 38 | fn serialize(&self, to: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 | fn serialize(&self, to: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:48:31 [INFO] [stderr] | [INFO] [stderr] 48 | fn serialize(&self, to: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 | fn serialize(&self, to: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:58:31 [INFO] [stderr] | [INFO] [stderr] 58 | fn serialize(&self, to: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 | fn serialize(&self, to: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:68:31 [INFO] [stderr] | [INFO] [stderr] 68 | fn serialize(&self, to: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 68 | fn serialize(&self, to: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1057:52 [INFO] [stderr] | [INFO] [stderr] 1057 | pub fn row(&mut self, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 1057 | pub fn row(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1063:60 [INFO] [stderr] | [INFO] [stderr] 1063 | pub fn row_checked(&mut self, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 1063 | pub fn row_checked(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1132:78 [INFO] [stderr] | [INFO] [stderr] 1132 | pub fn row(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 1132 | pub fn row(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1138:86 [INFO] [stderr] | [INFO] [stderr] 1138 | pub fn row_checked(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&FromValue]) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 1138 | pub fn row_checked(&mut self, name: &str, format: &str, t: &NaiveDateTime, cols: &[&dyn FromValue]) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/lib.rs:380:29 [INFO] [stderr] | [INFO] [stderr] 380 | let from = NaiveDateTime::from_timestamp(0,0); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/lib.rs:715:29 [INFO] [stderr] | [INFO] [stderr] 715 | let from = NaiveDateTime::from_timestamp(0,0); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stderr] --> src/lib.rs:1020:4 [INFO] [stderr] | [INFO] [stderr] 1020 | t.timestamp() as u64 * NANO [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_subsec_nanos`: use `.and_utc().timestamp_subsec_nanos()` instead [INFO] [stderr] --> src/lib.rs:1021:8 [INFO] [stderr] | [INFO] [stderr] 1021 | + (t.timestamp_subsec_nanos() as u64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/lib.rs:1036:26 [INFO] [stderr] | [INFO] [stderr] 1036 | let ts = NaiveDateTime::from_timestamp( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/lib.rs:1194:17 [INFO] [stderr] | [INFO] [stderr] 1194 | NaiveDateTime::from_timestamp((max/NANO) as i64, (max%NANO) as u32) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sonnerie-api` (lib) generated 17 warnings (run `cargo fix --lib -p sonnerie-api` to apply 11 suggestions) [INFO] [stderr] warning: `sonnerie-api` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sonnerie_api-bab496ab388d9ad6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sonnerie_api [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 7) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Client::add_rows (line 604) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Client` in the current scope [INFO] [stdout] --> src/lib.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 6 | let mut client = sonnerie_api::Client::new(stream)?; [INFO] [stdout] | ^^^ function or associated item not found in `Client` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Client` consider using one of the following associated functions: [INFO] [stdout] Client::from_streams [INFO] [stdout] Client::new_tcp [INFO] [stdout] Client::new_unix [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:161:2 [INFO] [stdout] | [INFO] [stdout] 161 | / pub fn from_streams( [INFO] [stdout] 162 | | reader: R, writer: W [INFO] [stdout] 163 | | ) -> Result [INFO] [stdout] | |_______________________^ [INFO] [stdout] ... [INFO] [stdout] 191 | / pub fn new_tcp(connection: std::net::TcpStream) [INFO] [stdout] 192 | | -> Result [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 201 | / pub fn new_unix(connection: std::os::unix::net::UnixStream) [INFO] [stdout] 202 | | -> Result [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Client::add_rows (line 604) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Client` in the current scope [INFO] [stdout] --> src/lib.rs:607:40 [INFO] [stdout] | [INFO] [stdout] 6 | let mut client = sonnerie_api::Client::new(stream).unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Client` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Client` consider using one of the following associated functions: [INFO] [stdout] Client::from_streams [INFO] [stdout] Client::new_tcp [INFO] [stdout] Client::new_unix [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:161:2 [INFO] [stdout] | [INFO] [stdout] 161 | / pub fn from_streams( [INFO] [stdout] 162 | | reader: R, writer: W [INFO] [stdout] 163 | | ) -> Result [INFO] [stdout] | |_______________________^ [INFO] [stdout] ... [INFO] [stdout] 191 | / pub fn new_tcp(connection: std::net::TcpStream) [INFO] [stdout] 192 | | -> Result [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 201 | / pub fn new_unix(connection: std::os::unix::net::UnixStream) [INFO] [stdout] 202 | | -> Result [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:624:30 [INFO] [stdout] | [INFO] [stdout] 23 | adder.row(&ts1, &[&25.0, &45]); [INFO] [stdout] | ^^^ expected `&{float}`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&{float}` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:625:30 [INFO] [stdout] | [INFO] [stdout] 24 | adder.row(&ts2, &[&24.5, &48]); [INFO] [stdout] | ^^^ expected `&{float}`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&{float}` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:626:30 [INFO] [stdout] | [INFO] [stdout] 25 | adder.row(&ts3, &[&24.2, &49]); [INFO] [stdout] | ^^^ expected `&{float}`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&{float}` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:627:30 [INFO] [stdout] | [INFO] [stdout] 26 | adder.row(&ts3, &[&23.9, &49]); [INFO] [stdout] | ^^^ expected `&{float}`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&{float}` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] src/lib.rs - Client::add_rows (line 604) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d690e5406391d35e87eab6df02324984824fc0c133ae005459a27fdaed31fd87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d690e5406391d35e87eab6df02324984824fc0c133ae005459a27fdaed31fd87", kill_on_drop: false }` [INFO] [stdout] d690e5406391d35e87eab6df02324984824fc0c133ae005459a27fdaed31fd87