[INFO] cloning repository https://github.com/cfsamson/rust_starter_webapp_local [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cfsamson/rust_starter_webapp_local" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfsamson%2Frust_starter_webapp_local", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfsamson%2Frust_starter_webapp_local'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01c93da5815f883448bfa771f65d5c2965e94728 [INFO] checking cfsamson/rust_starter_webapp_local against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfsamson%2Frust_starter_webapp_local" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cfsamson/rust_starter_webapp_local on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cfsamson/rust_starter_webapp_local [INFO] finished tweaking git repo https://github.com/cfsamson/rust_starter_webapp_local [INFO] tweaked toml for git repo https://github.com/cfsamson/rust_starter_webapp_local written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/cfsamson/rust_starter_webapp_local already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusqlite v0.16.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f67691669e9349ecb2ce3ed2c6cb1bb3db41c280ff5d0c46c9c24e9c8fe9ff9 [INFO] running `Command { std: "docker" "start" "-a" "8f67691669e9349ecb2ce3ed2c6cb1bb3db41c280ff5d0c46c9c24e9c8fe9ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f67691669e9349ecb2ce3ed2c6cb1bb3db41c280ff5d0c46c9c24e9c8fe9ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f67691669e9349ecb2ce3ed2c6cb1bb3db41c280ff5d0c46c9c24e9c8fe9ff9", kill_on_drop: false }` [INFO] [stdout] 8f67691669e9349ecb2ce3ed2c6cb1bb3db41c280ff5d0c46c9c24e9c8fe9ff9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e35ea4c0d3e96aad3da075e8df0b760f15e6dac2e4e894cff5b6290d44081240 [INFO] running `Command { std: "docker" "start" "-a" "e35ea4c0d3e96aad3da075e8df0b760f15e6dac2e4e894cff5b6290d44081240", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.86 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking filetime v0.2.4 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking gzip-header v0.2.0 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking pest v2.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.11.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking buf_redux v0.8.1 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.86 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking multipart v0.15.4 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking rouille v3.0.0 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking rusqlite v0.16.0 [INFO] [stderr] Checking small_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | &self.dateint as &ToSql, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | params: &[&ToSql], [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/web.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | _ => {Ok(Response::text("Not found"))}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | &self.dateint as &ToSql, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | params: &[&ToSql], [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/web.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | _ => {Ok(Response::text("Not found"))}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | fn css_handler(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | fn css_site_handler(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | fn js_handler(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | fn popper_js_handler(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | fn seed_database(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | fn get_registrations(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | fn css_handler(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | fn css_site_handler(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | fn js_handler(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | fn popper_js_handler(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | fn seed_database(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | fn get_registrations(req: &Request) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/web.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut reg = Handlebars::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `drop` [INFO] [stdout] --> src/data.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn drop() -> Res<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/web.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut reg = Handlebars::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `drop` [INFO] [stdout] --> src/data.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn drop() -> Res<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.06s [INFO] running `Command { std: "docker" "inspect" "e35ea4c0d3e96aad3da075e8df0b760f15e6dac2e4e894cff5b6290d44081240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35ea4c0d3e96aad3da075e8df0b760f15e6dac2e4e894cff5b6290d44081240", kill_on_drop: false }` [INFO] [stdout] e35ea4c0d3e96aad3da075e8df0b760f15e6dac2e4e894cff5b6290d44081240