[INFO] cloning repository https://github.com/xvrqt/echo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xvrqt/echo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxvrqt%2Fecho", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxvrqt%2Fecho'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1922a6c7a95587097ed13a834f92b4542ceddca3 [INFO] testing xvrqt/echo against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxvrqt%2Fecho" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xvrqt/echo 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/xvrqt/echo [INFO] finished tweaking git repo https://github.com/xvrqt/echo [INFO] tweaked toml for git repo https://github.com/xvrqt/echo written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/xvrqt/echo 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] warning: unused manifest key: package.about [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 unic-ucd-version v0.7.0 [INFO] [stderr] Downloaded unic-common v0.7.0 [INFO] [stderr] Downloaded unic-ucd-segment v0.7.0 [INFO] [stderr] Downloaded unic-char-range v0.7.0 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded unic-char-property v0.7.0 [INFO] [stderr] Downloaded tera v0.11.20 [INFO] [stderr] Downloaded unic-segment v0.7.0 [INFO] [stderr] Downloaded pkg-config v0.3.15 [INFO] [stderr] Downloaded libsqlite3-sys v0.15.0 [INFO] [stderr] Downloaded ucd-trie v0.1.2 [INFO] [stderr] Downloaded user-error v1.0.5 [INFO] [stderr] Downloaded rusqlite v0.19.0 [INFO] [stderr] Downloaded scrawl v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 7f3f663159557e55763da2a62234b31df0cfc7574388a9cbd662e1e14208d4dd [INFO] running `Command { std: "docker" "start" "-a" "7f3f663159557e55763da2a62234b31df0cfc7574388a9cbd662e1e14208d4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f3f663159557e55763da2a62234b31df0cfc7574388a9cbd662e1e14208d4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f3f663159557e55763da2a62234b31df0cfc7574388a9cbd662e1e14208d4dd", kill_on_drop: false }` [INFO] [stdout] 7f3f663159557e55763da2a62234b31df0cfc7574388a9cbd662e1e14208d4dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 9c27f08fbba98891f01d31e300c5e355765b16d63a6febe281584725ceee9104 [INFO] running `Command { std: "docker" "start" "-a" "9c27f08fbba98891f01d31e300c5e355765b16d63a6febe281584725ceee9104", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling unic-common v0.7.0 [INFO] [stderr] Compiling unic-char-range v0.7.0 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling scrawl v0.9.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling colorful v0.2.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling unic-char-property v0.7.0 [INFO] [stderr] Compiling unic-ucd-version v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling pest v2.1.1 [INFO] [stderr] Compiling unic-ucd-segment v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling libsqlite3-sys v0.15.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling unic-segment v0.7.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling rusqlite v0.19.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling user-error v1.0.5 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling backtrace v0.3.33 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.97 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling tera v0.11.20 [INFO] [stderr] Compiling echo v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/subcommands/log.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/subcommands/log.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/subcommands/log.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/subcommands/build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::web::templates` [INFO] [stdout] --> src/subcommands/build.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::web::templates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subcommands::build` [INFO] [stdout] --> src/subcommands/update.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{subcommands::build, utility, config}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context/home.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn write(&self, path: &AsRef) -> Result<(), UserError> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - pub fn write(&self, path: &AsRef) -> Result<(), UserError> { [INFO] [stdout] 46 + pub fn write(&self, path: &dyn AsRef) -> Result<(), UserError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config/mod.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | &[e.description()], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/context/home.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | ... &[&reason, &e.description()], &[]) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let values: [&ToSql; 4] = [&post.created, &post.edited, &post.text, &post.id]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - let values: [&ToSql; 4] = [&post.created, &post.edited, &post.text, &post.id]; [INFO] [stdout] 104 + let values: [&dyn ToSql; 4] = [&post.created, &post.edited, &post.text, &post.id]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/utility/mod.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | UserError::hardcoded(&summary, &[e.description()], &[]) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/subcommands/log.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | let (config, connection) = utility::get_project(args.value_of("PATH"))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all` [INFO] [stdout] --> src/db/mod.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_all(c: &Connection) -> Result>, UserError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INDEX_LOCATION` [INFO] [stdout] --> src/context/home.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const INDEX_LOCATION: &'static str = "dist/index.html"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.70s [INFO] running `Command { std: "docker" "inspect" "9c27f08fbba98891f01d31e300c5e355765b16d63a6febe281584725ceee9104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c27f08fbba98891f01d31e300c5e355765b16d63a6febe281584725ceee9104", kill_on_drop: false }` [INFO] [stdout] 9c27f08fbba98891f01d31e300c5e355765b16d63a6febe281584725ceee9104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] f1850505d5467b263d5f89f32204a26d0cc01b2c96df1f928e3fceb65b6939fa [INFO] running `Command { std: "docker" "start" "-a" "f1850505d5467b263d5f89f32204a26d0cc01b2c96df1f928e3fceb65b6939fa", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.about [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/subcommands/log.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/subcommands/log.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/subcommands/log.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/subcommands/build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::web::templates` [INFO] [stdout] --> src/subcommands/build.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::web::templates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subcommands::build` [INFO] [stdout] --> src/subcommands/update.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{subcommands::build, utility, config}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context/home.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn write(&self, path: &AsRef) -> Result<(), UserError> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - pub fn write(&self, path: &AsRef) -> Result<(), UserError> { [INFO] [stdout] 46 + pub fn write(&self, path: &dyn AsRef) -> Result<(), UserError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config/mod.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | &[e.description()], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/context/home.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | ... &[&reason, &e.description()], &[]) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let values: [&ToSql; 4] = [&post.created, &post.edited, &post.text, &post.id]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - let values: [&ToSql; 4] = [&post.created, &post.edited, &post.text, &post.id]; [INFO] [stdout] 104 + let values: [&dyn ToSql; 4] = [&post.created, &post.edited, &post.text, &post.id]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling echo v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/utility/mod.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | UserError::hardcoded(&summary, &[e.description()], &[]) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/subcommands/log.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | let (config, connection) = utility::get_project(args.value_of("PATH"))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all` [INFO] [stdout] --> src/db/mod.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_all(c: &Connection) -> Result>, UserError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INDEX_LOCATION` [INFO] [stdout] --> src/context/home.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const INDEX_LOCATION: &'static str = "dist/index.html"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character `.` in crate name: `cli.test` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `echo` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Stdio` [INFO] [stdout] --> src/subcommands/log.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/subcommands/log.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/subcommands/log.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/subcommands/build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::web::templates` [INFO] [stdout] --> src/subcommands/build.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::web::templates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subcommands::build` [INFO] [stdout] --> src/subcommands/update.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{subcommands::build, utility, config}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context/home.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn write(&self, path: &AsRef) -> Result<(), UserError> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - pub fn write(&self, path: &AsRef) -> Result<(), UserError> { [INFO] [stdout] 46 + pub fn write(&self, path: &dyn AsRef) -> Result<(), UserError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config/mod.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | &[e.description()], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/context/home.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | ... &[&reason, &e.description()], &[]) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/db/mod.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let values: [&ToSql; 4] = [&post.created, &post.edited, &post.text, &post.id]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - let values: [&ToSql; 4] = [&post.created, &post.edited, &post.text, &post.id]; [INFO] [stdout] 104 + let values: [&dyn ToSql; 4] = [&post.created, &post.edited, &post.text, &post.id]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/utility/mod.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | UserError::hardcoded(&summary, &[e.description()], &[]) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/subcommands/log.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | let (config, connection) = utility::get_project(args.value_of("PATH"))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all` [INFO] [stdout] --> src/db/mod.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_all(c: &Connection) -> Result>, UserError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INDEX_LOCATION` [INFO] [stdout] --> src/context/home.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const INDEX_LOCATION: &'static str = "dist/index.html"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f1850505d5467b263d5f89f32204a26d0cc01b2c96df1f928e3fceb65b6939fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1850505d5467b263d5f89f32204a26d0cc01b2c96df1f928e3fceb65b6939fa", kill_on_drop: false }` [INFO] [stdout] f1850505d5467b263d5f89f32204a26d0cc01b2c96df1f928e3fceb65b6939fa