[INFO] updating cached repository https://github.com/gatewaynode/rocket-gatewaynode-com [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 27277ec5cf1bac90fcf4968aa6751c9a3ffc5d5b [INFO] checking gatewaynode/rocket-gatewaynode-com against try#1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 for pr-69530 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgatewaynode%2Frocket-gatewaynode-com" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gatewaynode/rocket-gatewaynode-com on toolchain 1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/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 `"/workspace/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+1cdff26b98d4c2377ea6ae8929f1daebbf58f2b0" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 727c9960d0cb04fb322ab4ff15284804d0c829e3c7bc8b99b5d5b43ce5644762 [INFO] running `"docker" "start" "-a" "727c9960d0cb04fb322ab4ff15284804d0c829e3c7bc8b99b5d5b43ce5644762"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.49 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking ignore v0.4.14 [INFO] [stderr] Compiling cookie v0.11.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking globwalk v0.8.0 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Checking tera v1.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Checking rocket_http v0.4.4 [INFO] [stderr] Checking diesel v1.4.4 [INFO] [stderr] Compiling rocket_codegen v0.4.4 [INFO] [stderr] Checking rocket v0.4.4 [INFO] [stderr] Checking rocket_contrib v0.4.4 [INFO] [stderr] Checking rocket-gatewaynode-com v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use rocket_gatewaynode_com::models::{Post, Link}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rocket_gatewaynode_com`, `rocket_gatewaynode_com::models::Post`, `rocket_gatewaynode_com::models::Link` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use rocket_gatewaynode_com::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stderr] 10 | use rocket_gatewaynode_com::models::{Post, Link}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/main.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 19 | struct GeneralContentList { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 19 | struct GeneralContentList { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] 21 | regular_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 19 | struct GeneralContentList { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 22 | thingy_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 19 | struct GeneralContentList { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 23 | tut_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/main.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | regular_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | thingy_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | tut_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/main.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 27 | struct PostContentList { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/main.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 32 | struct LinkContentList { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 33 | links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 33 | links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stderr] --> src/main.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let all_posts_raw = read_all_posts(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stderr] ... [INFO] [stderr] 61 | / fn list_all_posts() -> Template { [INFO] [stderr] 62 | | let all_posts = PostContentList { [INFO] [stderr] 63 | | posts: read_all_posts(), [INFO] [stderr] 64 | | }; [INFO] [stderr] 65 | | [INFO] [stderr] 66 | | Template::render("all_posts", &all_posts) [INFO] [stderr] 67 | | } [INFO] [stderr] | |_- similarly named function `list_all_posts` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:47:29 [INFO] [stderr] | [INFO] [stderr] 47 | let regular_links_raw = read_links_by_filter_limit(String::from("regular"), 10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:48:28 [INFO] [stderr] | [INFO] [stderr] 48 | let thingy_links_raw = read_links_by_filter_limit(String::from("thingy"), 10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | let tut_links_raw = read_links_by_filter_limit(String::from("tut"), 10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stderr] --> src/main.rs:63:16 [INFO] [stderr] | [INFO] [stderr] 61 | / fn list_all_posts() -> Template { [INFO] [stderr] 62 | | let all_posts = PostContentList { [INFO] [stderr] 63 | | posts: read_all_posts(), [INFO] [stderr] | | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stderr] 64 | | }; [INFO] [stderr] 65 | | [INFO] [stderr] 66 | | Template::render("all_posts", &all_posts) [INFO] [stderr] 67 | | } [INFO] [stderr] | |_- similarly named function `list_all_posts` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_post` in this scope [INFO] [stderr] --> src/main.rs:71:16 [INFO] [stderr] | [INFO] [stderr] 70 | / fn a_post(post_id: i32) -> Template { [INFO] [stderr] 71 | | let post = read_post(post_id); [INFO] [stderr] | | ^^^^^^^^^ help: a function with a similar name exists: `a_post` [INFO] [stderr] 72 | | [INFO] [stderr] 73 | | Template::render("a_post", &post) [INFO] [stderr] 74 | | } [INFO] [stderr] | |_- similarly named function `a_post` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_all_links` in this scope [INFO] [stderr] --> src/main.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 77 | / fn list_all_links() -> Template { [INFO] [stderr] 78 | | let all_links = LinkContentList { [INFO] [stderr] 79 | | links: read_all_links(), [INFO] [stderr] | | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_links` [INFO] [stderr] 80 | | }; [INFO] [stderr] 81 | | [INFO] [stderr] 82 | | Template::render("all_links", &all_links) [INFO] [stderr] 83 | | } [INFO] [stderr] | |_- similarly named function `list_all_links` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:88:16 [INFO] [stderr] | [INFO] [stderr] 88 | posts: read_posts_by_filter_limit(String::from("rust"), 999), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:96:16 [INFO] [stderr] | [INFO] [stderr] 96 | posts: read_posts_by_filter_limit(String::from("python"), 999), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:104:16 [INFO] [stderr] | [INFO] [stderr] 104 | posts: read_posts_by_filter_limit(String::from("bash"), 999), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use rocket_gatewaynode_com::models::{Post, Link}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rocket_gatewaynode_com`, `rocket_gatewaynode_com::models::Post`, `rocket_gatewaynode_com::models::Link` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use rocket_gatewaynode_com::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `rocket_gatewaynode_com` [INFO] [stderr] 10 | use rocket_gatewaynode_com::models::{Post, Link}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/main.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 19 | struct GeneralContentList { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 19 | struct GeneralContentList { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] 21 | regular_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 19 | struct GeneralContentList { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 22 | thingy_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 19 | struct GeneralContentList { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 23 | tut_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/main.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | regular_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | thingy_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | tut_links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/main.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 27 | struct PostContentList { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Post` in this scope [INFO] [stderr] --> src/main.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `rocket::http::Method::Post` and 1 other; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | posts: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 32 | struct LinkContentList { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 33 | links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Link` in this scope [INFO] [stderr] --> src/main.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 33 | links: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stderr] --> src/main.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let all_posts_raw = read_all_posts(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stderr] ... [INFO] [stderr] 61 | / fn list_all_posts() -> Template { [INFO] [stderr] 62 | | let all_posts = PostContentList { [INFO] [stderr] 63 | | posts: read_all_posts(), [INFO] [stderr] 64 | | }; [INFO] [stderr] 65 | | [INFO] [stderr] 66 | | Template::render("all_posts", &all_posts) [INFO] [stderr] 67 | | } [INFO] [stderr] | |_- similarly named function `list_all_posts` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:47:29 [INFO] [stderr] | [INFO] [stderr] 47 | let regular_links_raw = read_links_by_filter_limit(String::from("regular"), 10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:48:28 [INFO] [stderr] | [INFO] [stderr] 48 | let thingy_links_raw = read_links_by_filter_limit(String::from("thingy"), 10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_links_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | let tut_links_raw = read_links_by_filter_limit(String::from("tut"), 10); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_all_posts` in this scope [INFO] [stderr] --> src/main.rs:63:16 [INFO] [stderr] | [INFO] [stderr] 61 | / fn list_all_posts() -> Template { [INFO] [stderr] 62 | | let all_posts = PostContentList { [INFO] [stderr] 63 | | posts: read_all_posts(), [INFO] [stderr] | | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_posts` [INFO] [stderr] 64 | | }; [INFO] [stderr] 65 | | [INFO] [stderr] 66 | | Template::render("all_posts", &all_posts) [INFO] [stderr] 67 | | } [INFO] [stderr] | |_- similarly named function `list_all_posts` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_post` in this scope [INFO] [stderr] --> src/main.rs:71:16 [INFO] [stderr] | [INFO] [stderr] 70 | / fn a_post(post_id: i32) -> Template { [INFO] [stderr] 71 | | let post = read_post(post_id); [INFO] [stderr] | | ^^^^^^^^^ help: a function with a similar name exists: `a_post` [INFO] [stderr] 72 | | [INFO] [stderr] 73 | | Template::render("a_post", &post) [INFO] [stderr] 74 | | } [INFO] [stderr] | |_- similarly named function `a_post` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_all_links` in this scope [INFO] [stderr] --> src/main.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 77 | / fn list_all_links() -> Template { [INFO] [stderr] 78 | | let all_links = LinkContentList { [INFO] [stderr] 79 | | links: read_all_links(), [INFO] [stderr] | | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `list_all_links` [INFO] [stderr] 80 | | }; [INFO] [stderr] 81 | | [INFO] [stderr] 82 | | Template::render("all_links", &all_links) [INFO] [stderr] 83 | | } [INFO] [stderr] | |_- similarly named function `list_all_links` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:88:16 [INFO] [stderr] | [INFO] [stderr] 88 | posts: read_posts_by_filter_limit(String::from("rust"), 999), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:96:16 [INFO] [stderr] | [INFO] [stderr] 96 | posts: read_posts_by_filter_limit(String::from("python"), 999), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `read_posts_by_filter_limit` in this scope [INFO] [stderr] --> src/main.rs:104:16 [INFO] [stderr] | [INFO] [stderr] 104 | posts: read_posts_by_filter_limit(String::from("bash"), 999), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `rocket-gatewaynode-com`. [INFO] [stderr] [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: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `rocket-gatewaynode-com`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "727c9960d0cb04fb322ab4ff15284804d0c829e3c7bc8b99b5d5b43ce5644762"` [INFO] running `"docker" "rm" "-f" "727c9960d0cb04fb322ab4ff15284804d0c829e3c7bc8b99b5d5b43ce5644762"` [INFO] [stdout] 727c9960d0cb04fb322ab4ff15284804d0c829e3c7bc8b99b5d5b43ce5644762