[INFO] cloning repository https://github.com/sverrejb/rocket_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sverrejb/rocket_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsverrejb%2Frocket_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsverrejb%2Frocket_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43a2f662d8c5319b2e77bd7aa097bb506bfa624e [INFO] checking sverrejb/rocket_demo against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsverrejb%2Frocket_demo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sverrejb/rocket_demo [INFO] finished tweaking git repo https://github.com/sverrejb/rocket_demo [INFO] tweaked toml for git repo https://github.com/sverrejb/rocket_demo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sverrejb/rocket_demo on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sverrejb/rocket_demo 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e0f8f6414304a696c09540304e2ba405c543bd3b79fe667390e63b01a28c636 [INFO] running `Command { std: "docker" "start" "-a" "5e0f8f6414304a696c09540304e2ba405c543bd3b79fe667390e63b01a28c636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e0f8f6414304a696c09540304e2ba405c543bd3b79fe667390e63b01a28c636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0f8f6414304a696c09540304e2ba405c543bd3b79fe667390e63b01a28c636", kill_on_drop: false }` [INFO] [stdout] 5e0f8f6414304a696c09540304e2ba405c543bd3b79fe667390e63b01a28c636 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04594c43b577c7b8b04ad50cae53e1bc1615be8b30465b06223625ee5e28fe6f [INFO] running `Command { std: "docker" "start" "-a" "04594c43b577c7b8b04ad50cae53e1bc1615be8b30465b06223625ee5e28fe6f", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling ref-cast v1.0.9 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling phf_codegen v0.11.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling figment v0.10.7 [INFO] [stderr] Compiling multer v2.0.3 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking iana-time-zone v0.1.48 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking globset v0.4.9 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking filetime v0.2.17 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking normpath v0.3.2 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.9 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling pest v2.3.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling pest_meta v2.3.1 [INFO] [stderr] Compiling pest_generator v2.3.1 [INFO] [stderr] Compiling pest_derive v2.3.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-stream v0.1.10 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking ubyte v0.10.3 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking tera v1.17.1 [INFO] [stderr] Checking rocket_dyn_templates v0.1.0-rc.2 [INFO] [stderr] Checking rocket-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rocket_dyn_templates::Template` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_dyn_templates::Template; [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: `todo` [INFO] [stdout] --> src/json.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn todo() -> Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_todo` [INFO] [stdout] --> src/json.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_todo(task: Json) -> status::Accepted> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sensitive` [INFO] [stdout] --> src/secrets.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn sensitive(key: ApiKey<'_>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello` [INFO] [stdout] --> src/templating/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hello(name: &str) -> Template { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_dyn_templates::Template` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_dyn_templates::Template; [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: `todo` [INFO] [stdout] --> src/json.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn todo() -> Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_todo` [INFO] [stdout] --> src/json.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_todo(task: Json) -> status::Accepted> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sensitive` [INFO] [stdout] --> src/secrets.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn sensitive(key: ApiKey<'_>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello` [INFO] [stdout] --> src/templating/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hello(name: &str) -> Template { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_age` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn hello_age(name: &str, age: u8) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_nick` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn hello_nick(name: &str, nickname: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bad_request` is never used [INFO] [stdout] --> src/catchers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn bad_request(req: &Request) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_found` is never used [INFO] [stdout] --> src/catchers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn not_found(req: &Request) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> src/json.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `todo` is never used [INFO] [stdout] --> src/json.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn todo() -> Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_todo` is never used [INFO] [stdout] --> src/json.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_todo(task: Json) -> status::Accepted> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiKey` is never constructed [INFO] [stdout] --> src/secrets.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ApiKey<'r>(&'r str); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sensitive` is never used [INFO] [stdout] --> src/secrets.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn sensitive(key: ApiKey<'_>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello` is never used [INFO] [stdout] --> src/templating/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hello(name: &str) -> Template { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn hello_age(name: &str, age: u8) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn hello_nick(name: &str, nickname: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn hello_nick(name: &str, nickname: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/templating/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hello(name: &str) -> Template { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket-demo` (bin "rocket-demo") due to 4 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `hello_age` is never used [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn hello_age(name: &str, age: u8) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello_nick` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn hello_nick(name: &str, nickname: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bad_request` is never used [INFO] [stdout] --> src/catchers.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn bad_request(req: &Request) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_found` is never used [INFO] [stdout] --> src/catchers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn not_found(req: &Request) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> src/json.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `todo` is never used [INFO] [stdout] --> src/json.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn todo() -> Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_todo` is never used [INFO] [stdout] --> src/json.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_todo(task: Json) -> status::Accepted> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiKey` is never constructed [INFO] [stdout] --> src/secrets.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ApiKey<'r>(&'r str); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sensitive` is never used [INFO] [stdout] --> src/secrets.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn sensitive(key: ApiKey<'_>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hello` is never used [INFO] [stdout] --> src/templating/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hello(name: &str) -> Template { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn hello_age(name: &str, age: u8) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn hello_nick(name: &str, nickname: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/main.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn hello_nick(name: &str, nickname: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, Infallible> [INFO] [stdout] --> src/templating/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hello(name: &str) -> Template { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket-demo` (bin "rocket-demo" test) due to 4 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04594c43b577c7b8b04ad50cae53e1bc1615be8b30465b06223625ee5e28fe6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04594c43b577c7b8b04ad50cae53e1bc1615be8b30465b06223625ee5e28fe6f", kill_on_drop: false }` [INFO] [stdout] 04594c43b577c7b8b04ad50cae53e1bc1615be8b30465b06223625ee5e28fe6f