[INFO] cloning repository https://github.com/ccakes/trk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ccakes/trk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccakes%2Ftrk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccakes%2Ftrk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 548cb2ccd5fdb9c9af62526a5fce54d17193fc9c [INFO] testing ccakes/trk against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccakes%2Ftrk" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ccakes/trk on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ccakes/trk [INFO] finished tweaking git repo https://github.com/ccakes/trk [INFO] tweaked toml for git repo https://github.com/ccakes/trk written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/ccakes/trk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusqlite v0.15.0 [INFO] [stderr] Downloaded drawille v0.2.3 [INFO] [stderr] Downloaded csv v1.0.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.10.0 [INFO] [stderr] Downloaded structopt-derive v0.2.12 [INFO] [stderr] Downloaded read_input v0.5.2 [INFO] [stderr] Downloaded structopt v0.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f5b91a015576454a9fcfa5ab08bff9369995cc5e7b7fe2e666f31bc43968d4 [INFO] running `Command { std: "docker" "start" "-a" "14f5b91a015576454a9fcfa5ab08bff9369995cc5e7b7fe2e666f31bc43968d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f5b91a015576454a9fcfa5ab08bff9369995cc5e7b7fe2e666f31bc43968d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f5b91a015576454a9fcfa5ab08bff9369995cc5e7b7fe2e666f31bc43968d4", kill_on_drop: false }` [INFO] [stdout] 14f5b91a015576454a9fcfa5ab08bff9369995cc5e7b7fe2e666f31bc43968d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 829ebb8ff05b38ae879e49229757b1d4441151856fe77c7b15bb08196f0e6466 [INFO] running `Command { std: "docker" "start" "-a" "829ebb8ff05b38ae879e49229757b1d4441151856fe77c7b15bb08196f0e6466", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling encode_unicode v0.3.5 [INFO] [stderr] Compiling drawille v0.2.3 [INFO] [stderr] Compiling read_input v0.5.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.10.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling fern v0.5.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling syn v0.15.17 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling termion v1.5.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling rusqlite v0.15.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling structopt-derive v0.2.12 [INFO] [stderr] Compiling structopt v0.2.12 [INFO] [stderr] Compiling csv v1.0.2 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling trk v0.2.1 (/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] = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - &[&series.id as &ToSql, &points], [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - &[&series.id as &ToSql, &series.id, &value] [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - let series_id = ins.insert(&[&name as &ToSql, &unit])?; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - &[&series_id as &ToSql], [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - &[&series.id as &ToSql] [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - &[&series.id as &ToSql] [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - &[&series as &ToSql], [INFO] [stdout] 170 + &[&series as &dyn ToSql], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.04s [INFO] running `Command { std: "docker" "inspect" "829ebb8ff05b38ae879e49229757b1d4441151856fe77c7b15bb08196f0e6466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829ebb8ff05b38ae879e49229757b1d4441151856fe77c7b15bb08196f0e6466", kill_on_drop: false }` [INFO] [stdout] 829ebb8ff05b38ae879e49229757b1d4441151856fe77c7b15bb08196f0e6466 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58825dfac787a3f7bbb3a4fe827834f60fa741538d5f08ade6f3bd01d096c2c5 [INFO] running `Command { std: "docker" "start" "-a" "58825dfac787a3f7bbb3a4fe827834f60fa741538d5f08ade6f3bd01d096c2c5", kill_on_drop: false }` [INFO] [stderr] Compiling trk v0.2.1 (/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] = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - &[&series.id as &ToSql, &points], [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - &[&series.id as &ToSql, &series.id, &value] [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - let series_id = ins.insert(&[&name as &ToSql, &unit])?; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - &[&series_id as &ToSql], [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - &[&series.id as &ToSql] [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - &[&series.id as &ToSql] [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - &[&series as &ToSql], [INFO] [stdout] 170 + &[&series as &dyn ToSql], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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] = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - &[&series.id as &ToSql, &points], [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - &[&series.id as &ToSql, &series.id, &value] [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - let series_id = ins.insert(&[&name as &ToSql, &unit])?; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - &[&series_id as &ToSql], [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - &[&series.id as &ToSql] [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - &[&series.id as &ToSql] [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - &[&series as &ToSql], [INFO] [stdout] 170 + &[&series as &dyn ToSql], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "58825dfac787a3f7bbb3a4fe827834f60fa741538d5f08ade6f3bd01d096c2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58825dfac787a3f7bbb3a4fe827834f60fa741538d5f08ade6f3bd01d096c2c5", kill_on_drop: false }` [INFO] [stdout] 58825dfac787a3f7bbb3a4fe827834f60fa741538d5f08ade6f3bd01d096c2c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] da886a4efeb33ed25a82d808e1470160eeabc3b11a87966cf67bc90dcfbcd601 [INFO] running `Command { std: "docker" "start" "-a" "da886a4efeb33ed25a82d808e1470160eeabc3b11a87966cf67bc90dcfbcd601", kill_on_drop: false }` [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] = 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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - &[&series.id as &ToSql, &points], [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 99 - &[&series.id as &ToSql, &series.id, &value] [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 105 - let series_id = ins.insert(&[&name as &ToSql, &unit])?; [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 111 - &[&series_id as &ToSql], [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 134 - &[&series.id as &ToSql] [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 139 - &[&series.id as &ToSql] [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 170 - &[&series as &ToSql], [INFO] [stderr] 170 + &[&series as &dyn ToSql], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `trk` (lib) generated 7 warnings [INFO] [stderr] warning: `trk` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/trk-1e8d55faf21268cf) [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 (/opt/rustwide/target/debug/deps/trk-daea9b2a3808f37b) [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/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/mod.rs - textplots (line 39) ... FAILED [INFO] [stdout] test src/textplots/utils.rs - textplots::utils::histogram (line 6) ... FAILED [INFO] [stdout] test src/textplots/scale.rs - textplots::scale::Scale::linear (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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[E0433]: failed to resolve: use of undeclared type `Chart` [INFO] [stdout] --> src/textplots/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 8 | Chart::default().lineplot( Shape::Continuous( |x| x.sin() / x )).display(); [INFO] [stdout] | ^^^^^ use of undeclared type `Chart` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shape` [INFO] [stdout] --> src/textplots/mod.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 8 | Chart::default().lineplot( Shape::Continuous( |x| x.sin() / x )).display(); [INFO] [stdout] | ^^^^^ use of undeclared type `Shape` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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[E0433]: failed to resolve: use of undeclared type `Scale` [INFO] [stdout] --> src/textplots/scale.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(5.5, Scale::new(0_f32..10_f32, -1_f32..1_f32).inv_linear(0.1)); [INFO] [stdout] | ^^^^^ use of undeclared type `Scale` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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] | ^^^^^^^^^ maybe a missing crate `textplots`? [INFO] [stdout] [INFO] [stdout] error: aborting due to 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/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[E0425]: cannot find function `histogram` in this scope [INFO] [stdout] --> src/textplots/utils.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(vec![(0.0, 1.0), (5.0, 1.0)], histogram( &[ (0.0, 0.0), (9.0, 9.0), (10.0, 10.0) ], 0.0, 10.0, 2 )); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [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[E0433]: failed to resolve: use of undeclared type `Scale` [INFO] [stdout] --> src/textplots/scale.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(-0.8, Scale::new(0_f32..10_f32, -1_f32..1_f32).linear(1.0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Scale` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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.23s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "da886a4efeb33ed25a82d808e1470160eeabc3b11a87966cf67bc90dcfbcd601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da886a4efeb33ed25a82d808e1470160eeabc3b11a87966cf67bc90dcfbcd601", kill_on_drop: false }` [INFO] [stdout] da886a4efeb33ed25a82d808e1470160eeabc3b11a87966cf67bc90dcfbcd601