[INFO] cloning repository https://github.com/olivias-1082/rustforum401 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olivias-1082/rustforum401" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folivias-1082%2Frustforum401", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folivias-1082%2Frustforum401'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45e4dd4be1f6222878a92d711ea566ad66cabf84 [INFO] testing olivias-1082/rustforum401 against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folivias-1082%2Frustforum401" "/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/olivias-1082/rustforum401 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/olivias-1082/rustforum401 [INFO] finished tweaking git repo https://github.com/olivias-1082/rustforum401 [INFO] tweaked toml for git repo https://github.com/olivias-1082/rustforum401 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/olivias-1082/rustforum401 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad2977ac34d1635af543ea0e33e392501dba6e5fc68fff5fd65d9221f18276c1 [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" "ad2977ac34d1635af543ea0e33e392501dba6e5fc68fff5fd65d9221f18276c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad2977ac34d1635af543ea0e33e392501dba6e5fc68fff5fd65d9221f18276c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad2977ac34d1635af543ea0e33e392501dba6e5fc68fff5fd65d9221f18276c1", kill_on_drop: false }` [INFO] [stdout] ad2977ac34d1635af543ea0e33e392501dba6e5fc68fff5fd65d9221f18276c1 [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", 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] 22a5e159412b57493aa1d3d6564c7dea794baaa6d4f77f06a5f97b9f62bab39c [INFO] running `Command { std: "docker" "start" "-a" "22a5e159412b57493aa1d3d6564c7dea794baaa6d4f77f06a5f97b9f62bab39c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling frunk_core v0.4.0 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling vial v0.1.9 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling mysql v21.0.2 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling horrorshow v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.70 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Compiling io-enum v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling rust_decimal v1.17.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling subprocess v0.2.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling libc-strftime v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling cookie2 v0.12.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.0 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling twox-hash v1.6.1 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling frunk_proc_macros_impl v0.1.0 [INFO] [stderr] Compiling frunk_derives v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling frunk_proc_macros v0.1.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling frunk v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling mysql_common v0.27.5 [INFO] [stderr] Compiling rsproj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `horrowshow` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use horrowshow::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `horrowshow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `html` in this scope [INFO] [stdout] --> src/main.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | let homeP = format!("{}", html! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] crate::horrorshow::html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `html` in this scope [INFO] [stdout] --> src/main.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | let boardP = format!("{}", html! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] crate::horrorshow::html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `html` in this scope [INFO] [stdout] --> src/main.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | let threadP = format!("{}", html! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] crate::horrorshow::html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `html` in this scope [INFO] [stdout] --> src/main.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | let newThreadP = format!("{}", html! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] crate::horrorshow::html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `general` in this scope [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | GET "/boards/general" => boardPage(general); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `general` in this scope [INFO] [stdout] --> src/main.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | GET "/boards/general/newThread" => newThreadPage(general); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `politics` in this scope [INFO] [stdout] --> src/main.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | GET "/boards/politics" => boardPage(politics); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `politics` in this scope [INFO] [stdout] --> src/main.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | GET "/boards/politics/newThread" => newThreadPage(politics); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tech` in this scope [INFO] [stdout] --> src/main.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | GET "/boards/tech" => boardPage(tech); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tech` in this scope [INFO] [stdout] --> src/main.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | GET "/boards/tech/newThread" => newThreadPage(tech); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tv` in this scope [INFO] [stdout] --> src/main.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | GET "/boards/tv" => boardPage(tv); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tv` in this scope [INFO] [stdout] --> src/main.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | GET "/boards/tv/newThread" => newThreadPage(tv); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gaming` in this scope [INFO] [stdout] --> src/main.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | GET "/boards/gaming" => boardPage(gaming); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gaming` in this scope [INFO] [stdout] --> src/main.rs:26:53 [INFO] [stdout] | [INFO] [stdout] 26 | GET "/boards/gaming/newThread" => newThreadPage(gaming); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `horrorshow::helper::doctype` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use horrorshow::helper::doctype; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mysql::*` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use mysql::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 67 | fn boardPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] 18 | | GET "/boards/general/newThread" => newThreadPage(general); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 128 | fn newThreadPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] 18 | | GET "/boards/general/newThread" => newThreadPage(general); [INFO] [stdout] 19 | | GET "/boards/politics" => boardPage(politics); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 67 | fn boardPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] ... | [INFO] [stdout] 20 | | GET "/boards/politics/newThread" => newThreadPage(politics); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 128 | fn newThreadPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] ... | [INFO] [stdout] 21 | | GET "/boards/tech" => boardPage(tech); [INFO] [stdout] | | ^^^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 67 | fn boardPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] ... | [INFO] [stdout] 22 | | GET "/boards/tech/newThread" => newThreadPage(tech); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 128 | fn newThreadPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] ... | [INFO] [stdout] 23 | | GET "/boards/tv" => boardPage(tv); [INFO] [stdout] | | ^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 67 | fn boardPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] ... | [INFO] [stdout] 24 | | GET "/boards/tv/newThread" => newThreadPage(tv); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 128 | fn newThreadPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] ... | [INFO] [stdout] 25 | | GET "/boards/gaming" => boardPage(gaming); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 67 | fn boardPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 14 | / routes! { [INFO] [stdout] 15 | | GET "/" => homePage; [INFO] [stdout] 16 | | //The augment for boardPage is a placeholder for the DB entry [INFO] [stdout] 17 | | GET "/boards/general" => boardPage(general); [INFO] [stdout] ... | [INFO] [stdout] 26 | | GET "/boards/gaming/newThread" => newThreadPage(gaming); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found opaque type [INFO] [stdout] ... | [INFO] [stdout] 29 | | POST "/echo" => post; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- expected due to this [INFO] [stdout] ... [INFO] [stdout] 128 | fn newThreadPage(_: Request) -> impl Responder{ [INFO] [stdout] | -------------- the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(vial::Request) -> _` [INFO] [stdout] found opaque type `impl vial::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mysql::prelude` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use mysql::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsproj` due to 26 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22a5e159412b57493aa1d3d6564c7dea794baaa6d4f77f06a5f97b9f62bab39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a5e159412b57493aa1d3d6564c7dea794baaa6d4f77f06a5f97b9f62bab39c", kill_on_drop: false }` [INFO] [stdout] 22a5e159412b57493aa1d3d6564c7dea794baaa6d4f77f06a5f97b9f62bab39c