[INFO] fetching crate trk 0.2.0... [INFO] testing trk-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [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 b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0e93521a538847cb4009df3a7ce11ee2cdf51165612cc4a6eded9cb34c7688f [INFO] running `Command { std: "docker" "start" "-a" "a0e93521a538847cb4009df3a7ce11ee2cdf51165612cc4a6eded9cb34c7688f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0e93521a538847cb4009df3a7ce11ee2cdf51165612cc4a6eded9cb34c7688f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e93521a538847cb4009df3a7ce11ee2cdf51165612cc4a6eded9cb34c7688f", kill_on_drop: false }` [INFO] [stdout] a0e93521a538847cb4009df3a7ce11ee2cdf51165612cc4a6eded9cb34c7688f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c9c99adb9588969f1717bd0f815a523af1412f28feab26a5ac3ee6e57b79eac [INFO] running `Command { std: "docker" "start" "-a" "0c9c99adb9588969f1717bd0f815a523af1412f28feab26a5ac3ee6e57b79eac", 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 num-traits v0.2.19 [INFO] [stderr] Compiling libsqlite3-sys v0.10.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling rusqlite v0.15.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling read_input v0.5.4 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling drawille v0.2.3 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling structopt v0.2.18 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.67s [INFO] running `Command { std: "docker" "inspect" "0c9c99adb9588969f1717bd0f815a523af1412f28feab26a5ac3ee6e57b79eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c9c99adb9588969f1717bd0f815a523af1412f28feab26a5ac3ee6e57b79eac", kill_on_drop: false }` [INFO] [stdout] 0c9c99adb9588969f1717bd0f815a523af1412f28feab26a5ac3ee6e57b79eac [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b39ef5ba7885b4ec837bbff562488c188f9db5f1bb53234d4cca381ae78bf0c [INFO] running `Command { std: "docker" "start" "-a" "7b39ef5ba7885b4ec837bbff562488c188f9db5f1bb53234d4cca381ae78bf0c", 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)]` 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] [stderr] Compiling trk v0.2.0 (/opt/rustwide/workdir) [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "7b39ef5ba7885b4ec837bbff562488c188f9db5f1bb53234d4cca381ae78bf0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b39ef5ba7885b4ec837bbff562488c188f9db5f1bb53234d4cca381ae78bf0c", kill_on_drop: false }` [INFO] [stdout] 7b39ef5ba7885b4ec837bbff562488c188f9db5f1bb53234d4cca381ae78bf0c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96880ad52f1070b4d763dc3ae5969928c56a5def7c47fbf338daec5dedf4e2fb [INFO] running `Command { std: "docker" "start" "-a" "96880ad52f1070b4d763dc3ae5969928c56a5def7c47fbf338daec5dedf4e2fb", 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)]` 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)]` 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trk-a6183187ad4ce0d7) [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-751108b4b0c5df62) [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/utils.rs - textplots::utils::histogram (line 6) ... FAILED [INFO] [stdout] test src/textplots/scale.rs - textplots::scale::Scale::inv_linear (line 27) ... FAILED [INFO] [stdout] test src/textplots/mod.rs - textplots (line 39) ... FAILED [INFO] [stdout] test src/textplots/mod.rs - textplots (line 22) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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] 2 | 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] 2 | 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/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] 2 | 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] 3 | 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] 2 + extern crate textplots; [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 E0432`. [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] 2 | 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.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96880ad52f1070b4d763dc3ae5969928c56a5def7c47fbf338daec5dedf4e2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96880ad52f1070b4d763dc3ae5969928c56a5def7c47fbf338daec5dedf4e2fb", kill_on_drop: false }` [INFO] [stdout] 96880ad52f1070b4d763dc3ae5969928c56a5def7c47fbf338daec5dedf4e2fb