[INFO] updating cached repository https://github.com/gatewaynode/rocket-gatewaynode-com [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a269ffdf8a66a5f7ca052dc0d94ca2b92ae297a1 [INFO] checking gatewaynode/rocket-gatewaynode-com against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgatewaynode%2Frocket-gatewaynode-com" "/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/gatewaynode/rocket-gatewaynode-com on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gatewaynode/rocket-gatewaynode-com [INFO] finished tweaking git repo https://github.com/gatewaynode/rocket-gatewaynode-com [INFO] tweaked toml for git repo https://github.com/gatewaynode/rocket-gatewaynode-com written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/gatewaynode/rocket-gatewaynode-com already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", 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] 4046f5b25d87a936c8e394060443bbf9ac845eed94109747d9e547665287e7e4 [INFO] running `Command { std: "docker" "start" "-a" "4046f5b25d87a936c8e394060443bbf9ac845eed94109747d9e547665287e7e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4046f5b25d87a936c8e394060443bbf9ac845eed94109747d9e547665287e7e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4046f5b25d87a936c8e394060443bbf9ac845eed94109747d9e547665287e7e4", kill_on_drop: false }` [INFO] [stdout] 4046f5b25d87a936c8e394060443bbf9ac845eed94109747d9e547665287e7e4 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b9a270dc3896b91be4476f446d92ab65659e38f220351bea236b69487d74850 [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" "9b9a270dc3896b91be4476f446d92ab65659e38f220351bea236b69487d74850", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling syn v1.0.20 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling rocket_codegen v0.4.4 [INFO] [stderr] Compiling rocket v0.4.4 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking error-chain v0.12.2 [INFO] [stderr] Checking ignore v0.4.15 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Checking globwalk v0.8.0 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Checking cookie v0.11.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Compiling rocket_http v0.4.4 [INFO] [stderr] Checking tera v1.2.0 [INFO] [stderr] Checking diesel v1.4.4 [INFO] [stderr] Checking rocket_contrib v0.4.4 [INFO] [stderr] Checking rocket_cors v0.5.2 [INFO] [stderr] Checking rocket-gatewaynode-com v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rocket_gatewaynode_com::models::{Post, Link}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rocket_gatewaynode_com`, `rocket_gatewaynode_com::models::Post`, `rocket_gatewaynode_com::models::Link` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket_gatewaynode_com::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stdout] 14 | use rocket_gatewaynode_com::models::{Post, Link}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rocket_gatewaynode_com::models::{Post, Link}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rocket_gatewaynode_com`, `rocket_gatewaynode_com::models::Post`, `rocket_gatewaynode_com::models::Link` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket_gatewaynode_com::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stdout] 14 | use rocket_gatewaynode_com::models::{Post, Link}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | struct GeneralContentList { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 26 | struct GeneralContentList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] 28 | regular_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 26 | struct GeneralContentList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 29 | thingy_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 26 | struct GeneralContentList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | tut_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | regular_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | thingy_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | tut_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | struct PostContentList { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 39 | struct LinkContentList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 40 | links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] 46 | links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let all_posts_raw = read_posts_by_filter_limit(String::from("front"), 10); //read_some_posts(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let regular_links_raw = read_links_by_filter_limit(String::from("regular"), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let thingy_links_raw = read_links_by_filter_limit(String::from("thingy"), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let tut_links_raw = read_links_by_filter_limit(String::from("tut"), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | posts: read_posts_by_filter_limit(String::from("fiction"), 10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stdout] --> src/main.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 117 | fn list_all_posts() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_posts` defined here [INFO] [stdout] 118 | let all_posts = PostContentList { [INFO] [stdout] 119 | posts: read_all_posts(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_post` in this scope [INFO] [stdout] --> src/main.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 126 | fn a_post(post_id: i32) -> Template { [INFO] [stdout] | ----------------------------------- similarly named function `a_post` defined here [INFO] [stdout] 127 | let post = read_post(post_id); [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `a_post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_links` in this scope [INFO] [stdout] --> src/main.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn list_all_links() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_links` defined here [INFO] [stdout] 134 | let all_links = LinkContentList { [INFO] [stdout] 135 | links: read_all_links(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | posts: read_posts_by_filter_limit(String::from("rust"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | posts: read_posts_by_filter_limit(String::from("python"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | posts: read_posts_by_filter_limit(String::from("bash"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stdout] --> src/main.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 117 | fn list_all_posts() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_posts` defined here [INFO] [stdout] ... [INFO] [stdout] 168 | posts: read_all_posts(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_some_posts` in this scope [INFO] [stdout] --> src/main.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | front: read_some_posts(10), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_links` in this scope [INFO] [stdout] --> src/main.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn list_all_links() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_links` defined here [INFO] [stdout] ... [INFO] [stdout] 172 | links: read_all_links(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | rust: read_posts_by_filter_limit(String::from("rust"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | python: read_posts_by_filter_limit(String::from("python"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | bash: read_posts_by_filter_limit(String::from("bash"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stdout] --> src/main.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 117 | fn list_all_posts() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_posts` defined here [INFO] [stdout] ... [INFO] [stdout] 176 | all: read_all_posts(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] extern crate rocket_cors; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | struct GeneralContentList { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 26 | struct GeneralContentList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] 28 | regular_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 26 | struct GeneralContentList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 29 | thingy_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 26 | struct GeneralContentList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | tut_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | regular_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | thingy_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | tut_links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | struct PostContentList { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | posts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 39 | struct LinkContentList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 40 | links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] 46 | links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | struct AllContent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | front: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Link` in this scope [INFO] [stdout] --> src/main.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | links: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | rust: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | python: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | bash: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Post` in this scope [INFO] [stdout] --> src/main.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | all: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let all_posts_raw = read_posts_by_filter_limit(String::from("front"), 10); //read_some_posts(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let regular_links_raw = read_links_by_filter_limit(String::from("regular"), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let thingy_links_raw = read_links_by_filter_limit(String::from("thingy"), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let tut_links_raw = read_links_by_filter_limit(String::from("tut"), 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | posts: read_posts_by_filter_limit(String::from("fiction"), 10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stdout] --> src/main.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 117 | fn list_all_posts() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_posts` defined here [INFO] [stdout] 118 | let all_posts = PostContentList { [INFO] [stdout] 119 | posts: read_all_posts(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_post` in this scope [INFO] [stdout] --> src/main.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 126 | fn a_post(post_id: i32) -> Template { [INFO] [stdout] | ----------------------------------- similarly named function `a_post` defined here [INFO] [stdout] 127 | let post = read_post(post_id); [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `a_post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_links` in this scope [INFO] [stdout] --> src/main.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn list_all_links() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_links` defined here [INFO] [stdout] 134 | let all_links = LinkContentList { [INFO] [stdout] 135 | links: read_all_links(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | posts: read_posts_by_filter_limit(String::from("rust"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | posts: read_posts_by_filter_limit(String::from("python"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | posts: read_posts_by_filter_limit(String::from("bash"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stdout] --> src/main.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 117 | fn list_all_posts() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_posts` defined here [INFO] [stdout] ... [INFO] [stdout] 168 | posts: read_all_posts(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_some_posts` in this scope [INFO] [stdout] --> src/main.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | front: read_some_posts(10), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_links` in this scope [INFO] [stdout] --> src/main.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn list_all_links() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_links` defined here [INFO] [stdout] ... [INFO] [stdout] 172 | links: read_all_links(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_links` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | rust: read_posts_by_filter_limit(String::from("rust"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | python: read_posts_by_filter_limit(String::from("python"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stdout] --> src/main.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | bash: read_posts_by_filter_limit(String::from("bash"), 999), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stdout] --> src/main.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 117 | fn list_all_posts() -> Template { [INFO] [stdout] | ------------------------------- similarly named function `list_all_posts` defined here [INFO] [stdout] ... [INFO] [stdout] 176 | all: read_all_posts(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] extern crate rocket_cors; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket-gatewaynode-com`. [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9b9a270dc3896b91be4476f446d92ab65659e38f220351bea236b69487d74850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b9a270dc3896b91be4476f446d92ab65659e38f220351bea236b69487d74850", kill_on_drop: false }` [INFO] [stdout] 9b9a270dc3896b91be4476f446d92ab65659e38f220351bea236b69487d74850