[INFO] fetching crate trk 0.2.0... [INFO] testing trk-0.2.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate trk 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate trk 0.2.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36f31300f4dfce1d7a791c261af3f0590d334a440fbd7181b9b362865922d73e [INFO] running `Command { std: "docker" "start" "-a" "36f31300f4dfce1d7a791c261af3f0590d334a440fbd7181b9b362865922d73e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36f31300f4dfce1d7a791c261af3f0590d334a440fbd7181b9b362865922d73e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f31300f4dfce1d7a791c261af3f0590d334a440fbd7181b9b362865922d73e", kill_on_drop: false }` [INFO] [stdout] 36f31300f4dfce1d7a791c261af3f0590d334a440fbd7181b9b362865922d73e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eebcdb05123bd626f81c3d0ab2e5adb4bf8312d62acd93fcfa57d183253fbced [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eebcdb05123bd626f81c3d0ab2e5adb4bf8312d62acd93fcfa57d183253fbced", kill_on_drop: false }` [INFO] [stderr] Compiling read_input v0.5.4 [INFO] [stderr] Compiling drawille v0.2.3 [INFO] [stderr] Compiling libsqlite3-sys v0.10.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling rusqlite v0.15.0 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [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] = 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 20.39s [INFO] running `Command { std: "docker" "inspect" "eebcdb05123bd626f81c3d0ab2e5adb4bf8312d62acd93fcfa57d183253fbced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebcdb05123bd626f81c3d0ab2e5adb4bf8312d62acd93fcfa57d183253fbced", kill_on_drop: false }` [INFO] [stdout] eebcdb05123bd626f81c3d0ab2e5adb4bf8312d62acd93fcfa57d183253fbced [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdc534d65aac876805e95a101db3f694a0228cbb33e2dab1282250877291fba2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cdc534d65aac876805e95a101db3f694a0228cbb33e2dab1282250877291fba2", kill_on_drop: false }` [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] = 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 1.62s [INFO] running `Command { std: "docker" "inspect" "cdc534d65aac876805e95a101db3f694a0228cbb33e2dab1282250877291fba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc534d65aac876805e95a101db3f694a0228cbb33e2dab1282250877291fba2", kill_on_drop: false }` [INFO] [stdout] cdc534d65aac876805e95a101db3f694a0228cbb33e2dab1282250877291fba2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f76642cec97c51df2b43205a88d9efbb0dbc1cc99ddb6d4a25d218813c6c5a5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3f76642cec97c51df2b43205a88d9efbb0dbc1cc99ddb6d4a25d218813c6c5a5", 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.11s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/trk-daedc21b10166fab) [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-9f094c5ce7434d1a) [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 39) ... FAILED [INFO] [stdout] test src/textplots/scale.rs - textplots::scale::Scale::linear (line 13) ... 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] test src/textplots/mod.rs - textplots (line 22) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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] ---- 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/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/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] [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 1.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3f76642cec97c51df2b43205a88d9efbb0dbc1cc99ddb6d4a25d218813c6c5a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f76642cec97c51df2b43205a88d9efbb0dbc1cc99ddb6d4a25d218813c6c5a5", kill_on_drop: false }` [INFO] [stdout] 3f76642cec97c51df2b43205a88d9efbb0dbc1cc99ddb6d4a25d218813c6c5a5