[INFO] fetching crate sonnerie-api 0.4.1... [INFO] testing sonnerie-api-0.4.1 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate sonnerie-api 0.4.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sonnerie-api 0.4.1 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded escape_string v0.1.1 [INFO] [stderr] Downloaded linestream v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf8b9ad65c734e0750005ea76a06a71044f6ff1ed5f6b30fff479a58b894b974 [INFO] running `Command { std: "docker" "start" "-a" "bf8b9ad65c734e0750005ea76a06a71044f6ff1ed5f6b30fff479a58b894b974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf8b9ad65c734e0750005ea76a06a71044f6ff1ed5f6b30fff479a58b894b974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf8b9ad65c734e0750005ea76a06a71044f6ff1ed5f6b30fff479a58b894b974", kill_on_drop: false }` [INFO] [stdout] bf8b9ad65c734e0750005ea76a06a71044f6ff1ed5f6b30fff479a58b894b974 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8219261cc4ced3568869e01d8d1013c4fcfc65b842d5b68ccc0c5a741ec505b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8219261cc4ced3568869e01d8d1013c4fcfc65b842d5b68ccc0c5a741ec505b6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling escape_string v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling linestream v0.1.0 [INFO] [stderr] Compiling chrono v0.4.19 [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:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.41s [INFO] running `Command { std: "docker" "inspect" "8219261cc4ced3568869e01d8d1013c4fcfc65b842d5b68ccc0c5a741ec505b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8219261cc4ced3568869e01d8d1013c4fcfc65b842d5b68ccc0c5a741ec505b6", kill_on_drop: false }` [INFO] [stdout] 8219261cc4ced3568869e01d8d1013c4fcfc65b842d5b68ccc0c5a741ec505b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e58405a6b6e2e6e97a07900d9bf65e16298c0212ece1a9ba3dd1b3ae358320ae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e58405a6b6e2e6e97a07900d9bf65e16298c0212ece1a9ba3dd1b3ae358320ae", kill_on_drop: false }` [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:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn serialize(&self, to: &mut Write) [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [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] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "e58405a6b6e2e6e97a07900d9bf65e16298c0212ece1a9ba3dd1b3ae358320ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58405a6b6e2e6e97a07900d9bf65e16298c0212ece1a9ba3dd1b3ae358320ae", kill_on_drop: false }` [INFO] [stdout] e58405a6b6e2e6e97a07900d9bf65e16298c0212ece1a9ba3dd1b3ae358320ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aef8a76fc7489a5bcce6bd63f07f5fd44717d769e6a3abe06a01aec2eb353d20 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aef8a76fc7489a5bcce6bd63f07f5fd44717d769e6a3abe06a01aec2eb353d20", kill_on_drop: false }` [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] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stderr] [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn FromValue` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `sonnerie-api` (lib) generated 11 warnings [INFO] [stderr] warning: `sonnerie-api` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sonnerie_api-65c50e03e6587fd6) [INFO] [stderr] Doc-tests sonnerie-api [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] [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] error: aborting due to 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:606:40 [INFO] [stdout] | [INFO] [stdout] 5 | let mut client = sonnerie_api::Client::new(stream).unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Client` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:623:30 [INFO] [stdout] | [INFO] [stdout] 22 | adder.row(&ts1, &[&25.0, &45]); [INFO] [stdout] | ^^^ expected floating-point number, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type `&{float}` [INFO] [stdout] found reference `&{integer}` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:624:30 [INFO] [stdout] | [INFO] [stdout] 23 | adder.row(&ts2, &[&24.5, &48]); [INFO] [stdout] | ^^^ expected floating-point number, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type `&{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(&ts3, &[&24.2, &49]); [INFO] [stdout] | ^^^ expected floating-point number, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type `&{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, &[&23.9, &49]); [INFO] [stdout] | ^^^ expected floating-point number, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type `&{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.79s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "aef8a76fc7489a5bcce6bd63f07f5fd44717d769e6a3abe06a01aec2eb353d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef8a76fc7489a5bcce6bd63f07f5fd44717d769e6a3abe06a01aec2eb353d20", kill_on_drop: false }` [INFO] [stdout] aef8a76fc7489a5bcce6bd63f07f5fd44717d769e6a3abe06a01aec2eb353d20