[INFO] fetching crate trk 0.2.0... [INFO] testing trk-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate trk 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate trk 0.2.0 [INFO] finished tweaking crates.io crate trk 0.2.0 [INFO] tweaked toml for crates.io crate trk 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trk 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding drawille v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding fern v0.5.9 (available: v0.7.1) [INFO] [stderr] Adding prettytable-rs v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding read_input v0.5.4 (available: v0.8.6) [INFO] [stderr] Adding rusqlite v0.15.0 (available: v0.37.0) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] [stderr] Adding termion v1.5.6 (available: v4.0.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e285330af5ce47c7b260d689a31d7d43235a294453cc47e30adbaf9f70a7ada [INFO] running `Command { std: "docker" "start" "-a" "9e285330af5ce47c7b260d689a31d7d43235a294453cc47e30adbaf9f70a7ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e285330af5ce47c7b260d689a31d7d43235a294453cc47e30adbaf9f70a7ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e285330af5ce47c7b260d689a31d7d43235a294453cc47e30adbaf9f70a7ada", kill_on_drop: false }` [INFO] [stdout] 9e285330af5ce47c7b260d689a31d7d43235a294453cc47e30adbaf9f70a7ada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcd335833509336d52d2bace9dd5c68c4a5d80ab4b546dd30ae7994da5f63536 [INFO] running `Command { std: "docker" "start" "-a" "dcd335833509336d52d2bace9dd5c68c4a5d80ab4b546dd30ae7994da5f63536", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libsqlite3-sys v0.10.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling rusqlite v0.15.0 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling drawille v0.2.3 [INFO] [stderr] Compiling read_input v0.5.4 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling trk v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | &[&series.id as &ToSql, &points], [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] 66 | &[&series.id as &dyn ToSql, &points], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | &[&series.id as &ToSql, &series.id, &value] [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] 99 | &[&series.id as &dyn ToSql, &series.id, &value] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | let series_id = ins.insert(&[&name as &ToSql, &unit])?; [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] 105 | let series_id = ins.insert(&[&name as &dyn ToSql, &unit])?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | &[&series_id as &ToSql], [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] 111 | &[&series_id as &dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | &[&series.id as &ToSql] [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] 134 | &[&series.id as &dyn ToSql] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | &[&series.id as &ToSql] [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] 139 | &[&series.id as &dyn ToSql] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | &[&series as &ToSql], [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] 170 | &[&series as &dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/lib.rs:137:48 [INFO] [stdout] | [INFO] [stdout] 137 | ... let ts = Local.timestamp(p.timestamp.into(), 0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `run` is never read [INFO] [stdout] --> src/data.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Measurement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 16 | pub timestamp: u32, [INFO] [stdout] 17 | pub run: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.45s [INFO] running `Command { std: "docker" "inspect" "dcd335833509336d52d2bace9dd5c68c4a5d80ab4b546dd30ae7994da5f63536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcd335833509336d52d2bace9dd5c68c4a5d80ab4b546dd30ae7994da5f63536", kill_on_drop: false }` [INFO] [stdout] dcd335833509336d52d2bace9dd5c68c4a5d80ab4b546dd30ae7994da5f63536 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63ff13569061f5c39e540763226cca4e04ea57eeb46bae538e5e60ec6beb7516 [INFO] running `Command { std: "docker" "start" "-a" "63ff13569061f5c39e540763226cca4e04ea57eeb46bae538e5e60ec6beb7516", 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/data.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | &[&series.id as &ToSql, &points], [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] 66 | &[&series.id as &dyn ToSql, &points], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | &[&series.id as &ToSql, &series.id, &value] [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] 99 | &[&series.id as &dyn ToSql, &series.id, &value] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | let series_id = ins.insert(&[&name as &ToSql, &unit])?; [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] 105 | let series_id = ins.insert(&[&name as &dyn ToSql, &unit])?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | &[&series_id as &ToSql], [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] 111 | &[&series_id as &dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | &[&series.id as &ToSql] [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] 134 | &[&series.id as &dyn ToSql] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trk v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | &[&series.id as &ToSql] [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] 139 | &[&series.id as &dyn ToSql] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | &[&series as &ToSql], [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] 170 | &[&series as &dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/lib.rs:137:48 [INFO] [stdout] | [INFO] [stdout] 137 | ... let ts = Local.timestamp(p.timestamp.into(), 0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `run` is never read [INFO] [stdout] --> src/data.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Measurement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 16 | pub timestamp: u32, [INFO] [stdout] 17 | pub run: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (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/data.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | &[&series.id as &ToSql, &points], [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] 66 | &[&series.id as &dyn ToSql, &points], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | &[&series.id as &ToSql, &series.id, &value] [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] 99 | &[&series.id as &dyn ToSql, &series.id, &value] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | let series_id = ins.insert(&[&name as &ToSql, &unit])?; [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] 105 | let series_id = ins.insert(&[&name as &dyn ToSql, &unit])?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | &[&series_id as &ToSql], [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] 111 | &[&series_id as &dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | &[&series.id as &ToSql] [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] 134 | &[&series.id as &dyn ToSql] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | &[&series.id as &ToSql] [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] 139 | &[&series.id as &dyn ToSql] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | &[&series as &ToSql], [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] 170 | &[&series as &dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/lib.rs:137:48 [INFO] [stdout] | [INFO] [stdout] 137 | ... let ts = Local.timestamp(p.timestamp.into(), 0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `run` is never read [INFO] [stdout] --> src/data.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Measurement { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 16 | pub timestamp: u32, [INFO] [stdout] 17 | pub run: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "63ff13569061f5c39e540763226cca4e04ea57eeb46bae538e5e60ec6beb7516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ff13569061f5c39e540763226cca4e04ea57eeb46bae538e5e60ec6beb7516", kill_on_drop: false }` [INFO] [stdout] 63ff13569061f5c39e540763226cca4e04ea57eeb46bae538e5e60ec6beb7516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9a4110c673aec78993788b68dc21e226622fa0a22ae43eadb9d68783cfbd16e [INFO] running `Command { std: "docker" "start" "-a" "e9a4110c673aec78993788b68dc21e226622fa0a22ae43eadb9d68783cfbd16e", 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/data.rs:66:30 [INFO] [stderr] | [INFO] [stderr] 66 | &[&series.id as &ToSql, &points], [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] 66 | &[&series.id as &dyn ToSql, &points], [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/data.rs:99:30 [INFO] [stderr] | [INFO] [stderr] 99 | &[&series.id as &ToSql, &series.id, &value] [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] 99 | &[&series.id as &dyn ToSql, &series.id, &value] [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/data.rs:105:48 [INFO] [stderr] | [INFO] [stderr] 105 | let series_id = ins.insert(&[&name as &ToSql, &unit])?; [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] 105 | let series_id = ins.insert(&[&name as &dyn ToSql, &unit])?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/data.rs:111:30 [INFO] [stderr] | [INFO] [stderr] 111 | &[&series_id as &ToSql], [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] 111 | &[&series_id as &dyn ToSql], [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/data.rs:134:30 [INFO] [stderr] | [INFO] [stderr] 134 | &[&series.id as &ToSql] [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] 134 | &[&series.id as &dyn ToSql] [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/data.rs:139:30 [INFO] [stderr] | [INFO] [stderr] 139 | &[&series.id as &ToSql] [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] 139 | &[&series.id as &dyn ToSql] [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/data.rs:170:27 [INFO] [stderr] | [INFO] [stderr] 170 | &[&series as &ToSql], [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] 170 | &[&series as &dyn ToSql], [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stderr] --> src/lib.rs:137:48 [INFO] [stderr] | [INFO] [stderr] 137 | ... let ts = Local.timestamp(p.timestamp.into(), 0); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `run` is never read [INFO] [stderr] --> src/data.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Measurement { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 16 | pub timestamp: u32, [INFO] [stderr] 17 | pub run: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `trk` (lib) generated 9 warnings (run `cargo fix --lib -p trk` to apply 7 suggestions) [INFO] [stderr] warning: `trk` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trk-0ae1071a235c9c10) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trk-85910e1173c5092d) [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 trk [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/textplots/scale.rs - textplots::scale::Scale::linear (line 13) ... FAILED [INFO] [stdout] test src/textplots/mod.rs - textplots (line 39) ... FAILED [INFO] [stdout] test src/textplots/mod.rs - textplots (line 22) ... FAILED [INFO] [stdout] test src/textplots/scale.rs - textplots::scale::Scale::inv_linear (line 27) ... FAILED [INFO] [stdout] test src/textplots/utils.rs - textplots::utils::histogram (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/textplots/scale.rs - textplots::scale::Scale::linear (line 13) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `textplots` [INFO] [stdout] --> src/textplots/scale.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate textplots; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/textplots/mod.rs - textplots (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `textplots` [INFO] [stdout] --> src/textplots/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use textplots::{Chart, Plot, Shape}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `textplots` [INFO] [stdout] | [INFO] [stdout] help: if you wanted to use a crate named `textplots`, use `cargo add textplots` to add it to your `Cargo.toml` and import it in your code [INFO] [stdout] | [INFO] [stdout] 39 + extern crate textplots; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/textplots/mod.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | .lineplot( Shape::Continuous( |x| x.cos() )) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 45 | .lineplot( Shape::Continuous( |x: /* Type */| x.cos() )) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/textplots/mod.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | .lineplot( Shape::Continuous( |x| x.sin() / 2.0 )) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 46 | .lineplot( Shape::Continuous( |x: /* Type */| x.sin() / 2.0 )) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/textplots/mod.rs - textplots (line 22) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `textplots` [INFO] [stdout] --> src/textplots/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate textplots; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/textplots/mod.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 28 | Chart::default().lineplot( Shape::Continuous( |x| x.sin() / x )).display(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 28 | Chart::default().lineplot( Shape::Continuous( |x: /* Type */| x.sin() / x )).display(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/textplots/scale.rs - textplots::scale::Scale::inv_linear (line 27) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `textplots` [INFO] [stdout] --> src/textplots/scale.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate textplots; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/textplots/utils.rs - textplots::utils::histogram (line 6) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `textplots` [INFO] [stdout] --> src/textplots/utils.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate textplots; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/textplots/mod.rs - textplots (line 22) [INFO] [stdout] src/textplots/mod.rs - textplots (line 39) [INFO] [stdout] src/textplots/scale.rs - textplots::scale::Scale::inv_linear (line 27) [INFO] [stdout] src/textplots/scale.rs - textplots::scale::Scale::linear (line 13) [INFO] [stdout] src/textplots/utils.rs - textplots::utils::histogram (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e9a4110c673aec78993788b68dc21e226622fa0a22ae43eadb9d68783cfbd16e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a4110c673aec78993788b68dc21e226622fa0a22ae43eadb9d68783cfbd16e", kill_on_drop: false }` [INFO] [stdout] e9a4110c673aec78993788b68dc21e226622fa0a22ae43eadb9d68783cfbd16e