[INFO] cloning repository https://github.com/DaniilUbica/guest_book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaniilUbica/guest_book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaniilUbica%2Fguest_book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaniilUbica%2Fguest_book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abef7273251cb4e0538f2cc1e4cf4cc295841a1d [INFO] building DaniilUbica/guest_book against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaniilUbica%2Fguest_book" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DaniilUbica/guest_book [INFO] finished tweaking git repo https://github.com/DaniilUbica/guest_book [INFO] tweaked toml for git repo https://github.com/DaniilUbica/guest_book written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DaniilUbica/guest_book on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DaniilUbica/guest_book already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded rocket_dyn_templates v0.2.0 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded pest_generator v2.7.14 [INFO] [stderr] Downloaded pest_derive v2.7.14 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded postgres v0.19.9 [INFO] [stderr] Downloaded pest_meta v2.7.14 [INFO] [stderr] Downloaded postgres-protocol v0.6.7 [INFO] [stderr] Downloaded tempfile v3.13.0 [INFO] [stderr] Downloaded postgres-types v0.2.8 [INFO] [stderr] Downloaded tokio-postgres v0.7.12 [INFO] [stderr] Downloaded handlebars v5.1.2 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded pest v2.7.14 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded hyper v0.14.31 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22e639c973b85545f609a3f9647396f1b3ebc89f62970bb3f3abc8da84130e6d [INFO] running `Command { std: "docker" "start" "-a" "22e639c973b85545f609a3f9647396f1b3ebc89f62970bb3f3abc8da84130e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22e639c973b85545f609a3f9647396f1b3ebc89f62970bb3f3abc8da84130e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22e639c973b85545f609a3f9647396f1b3ebc89f62970bb3f3abc8da84130e6d", kill_on_drop: false }` [INFO] [stdout] 22e639c973b85545f609a3f9647396f1b3ebc89f62970bb3f3abc8da84130e6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b43b9faad2316b9bf1a036abc661a69aa2fe1f23cefed2277f0d9456f4a39701 [INFO] running `Command { std: "docker" "start" "-a" "b43b9faad2316b9bf1a036abc661a69aa2fe1f23cefed2277f0d9456f4a39701", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling handlebars v5.1.2 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling normpath v1.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling postgres v0.19.9 [INFO] [stderr] Compiling rocket_dyn_templates v0.2.0 [INFO] [stderr] Compiling guest_book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::content::RawHtml` [INFO] [stdout] --> src/backend_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::content::RawHtml; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::Redirect` [INFO] [stdout] --> src/backend_routes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::response::Redirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_dyn_templates::Template` [INFO] [stdout] --> src/backend_routes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket_dyn_templates::Template; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_record_id_from_info` [INFO] [stdout] --> src/backend_routes.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::database::{get_record_id_from_info, read_from_database, write_to_database}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApplicationError` and `DatabaseError` [INFO] [stdout] --> src/backend_routes.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::error::{ApplicationError, DatabaseError, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::content` [INFO] [stdout] --> src/frontend_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::error::Error` [INFO] [stdout] --> src/frontend_routes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CommentInput` is more private than the item `input_new_comment` [INFO] [stdout] --> src/backend_routes.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn input_new_comment(new_comment_input: Json, db_pool: &State>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `input_new_comment` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CommentInput` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/backend_routes.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct CommentInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_and_use_database` and `create_table` [INFO] [stdout] --> src/bin/main.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use guest_book::database::{create_and_use_database, create_table}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 09s [INFO] running `Command { std: "docker" "inspect" "b43b9faad2316b9bf1a036abc661a69aa2fe1f23cefed2277f0d9456f4a39701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b43b9faad2316b9bf1a036abc661a69aa2fe1f23cefed2277f0d9456f4a39701", kill_on_drop: false }` [INFO] [stdout] b43b9faad2316b9bf1a036abc661a69aa2fe1f23cefed2277f0d9456f4a39701 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34fbcf3f6dc9dfe0180ea339aae0c66ce44fc05cbb220127e42b0321fb5650e0 [INFO] running `Command { std: "docker" "start" "-a" "34fbcf3f6dc9dfe0180ea339aae0c66ce44fc05cbb220127e42b0321fb5650e0", kill_on_drop: false }` [INFO] [stderr] Compiling guest_book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::content::RawHtml` [INFO] [stdout] --> src/backend_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::content::RawHtml; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::Redirect` [INFO] [stdout] --> src/backend_routes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::response::Redirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_dyn_templates::Template` [INFO] [stdout] --> src/backend_routes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket_dyn_templates::Template; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_record_id_from_info` [INFO] [stdout] --> src/backend_routes.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::database::{get_record_id_from_info, read_from_database, write_to_database}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApplicationError` and `DatabaseError` [INFO] [stdout] --> src/backend_routes.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::error::{ApplicationError, DatabaseError, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::content` [INFO] [stdout] --> src/frontend_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::error::Error` [INFO] [stdout] --> src/frontend_routes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CommentInput` is more private than the item `input_new_comment` [INFO] [stdout] --> src/backend_routes.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn input_new_comment(new_comment_input: Json, db_pool: &State>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `input_new_comment` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CommentInput` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/backend_routes.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct CommentInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::content::RawHtml` [INFO] [stdout] --> src/backend_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::content::RawHtml; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::Redirect` [INFO] [stdout] --> src/backend_routes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::response::Redirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_dyn_templates::Template` [INFO] [stdout] --> src/backend_routes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket_dyn_templates::Template; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_record_id_from_info` [INFO] [stdout] --> src/backend_routes.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::database::{get_record_id_from_info, read_from_database, write_to_database}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApplicationError` and `DatabaseError` [INFO] [stdout] --> src/backend_routes.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::error::{ApplicationError, DatabaseError, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::content` [INFO] [stdout] --> src/frontend_routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::error::Error` [INFO] [stdout] --> src/frontend_routes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_and_use_database` and `create_table` [INFO] [stdout] --> src/bin/main.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use guest_book::database::{create_and_use_database, create_table}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CommentInput` is more private than the item `input_new_comment` [INFO] [stdout] --> src/backend_routes.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn input_new_comment(new_comment_input: Json, db_pool: &State>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `input_new_comment` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CommentInput` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/backend_routes.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct CommentInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "34fbcf3f6dc9dfe0180ea339aae0c66ce44fc05cbb220127e42b0321fb5650e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34fbcf3f6dc9dfe0180ea339aae0c66ce44fc05cbb220127e42b0321fb5650e0", kill_on_drop: false }` [INFO] [stdout] 34fbcf3f6dc9dfe0180ea339aae0c66ce44fc05cbb220127e42b0321fb5650e0