[INFO] cloning repository https://github.com/SpBills/rust-cms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpBills/rust-cms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpBills%2Frust-cms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpBills%2Frust-cms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83db0caa707aa503197672de4875bfd773117c9a [INFO] checking SpBills/rust-cms against try#e0f03aec47b100bc29555561bd62a99d1bc6aca5 for pr-86231 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpBills%2Frust-cms" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SpBills/rust-cms on toolchain e0f03aec47b100bc29555561bd62a99d1bc6aca5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e0f03aec47b100bc29555561bd62a99d1bc6aca5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SpBills/rust-cms [INFO] finished tweaking git repo https://github.com/SpBills/rust-cms [INFO] tweaked toml for git repo https://github.com/SpBills/rust-cms written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/SpBills/rust-cms already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e0f03aec47b100bc29555561bd62a99d1bc6aca5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const_fn v0.4.4 [INFO] [stderr] Downloaded v_escape_derive v0.8.4 [INFO] [stderr] Downloaded v_htmlescape v0.12.0 [INFO] [stderr] Downloaded v_escape v0.15.0 [INFO] [stderr] Downloaded actix-files v0.5.0 [INFO] [stderr] Downloaded actix-cors v0.5.4 [INFO] [stderr] Downloaded handlebars v3.5.2 [INFO] [stderr] Downloaded diesel v1.4.5 [INFO] [stderr] Downloaded socket2 v0.3.18 [INFO] [stderr] Downloaded buf-min v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+e0f03aec47b100bc29555561bd62a99d1bc6aca5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 874667941bb2526e4af43598f88bb53a80d7ba50d6fc5438efbd529e1af7861a [INFO] running `Command { std: "docker" "start" "-a" "874667941bb2526e4af43598f88bb53a80d7ba50d6fc5438efbd529e1af7861a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "874667941bb2526e4af43598f88bb53a80d7ba50d6fc5438efbd529e1af7861a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "874667941bb2526e4af43598f88bb53a80d7ba50d6fc5438efbd529e1af7861a", kill_on_drop: false }` [INFO] [stdout] 874667941bb2526e4af43598f88bb53a80d7ba50d6fc5438efbd529e1af7861a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+e0f03aec47b100bc29555561bd62a99d1bc6aca5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59d18d626500e0d32a1b4f0d95544f22029d22933bf57b94e4a1189dbee2cf7a [INFO] running `Command { std: "docker" "start" "-a" "59d18d626500e0d32a1b4f0d95544f22029d22933bf57b94e4a1189dbee2cf7a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking buf-min v0.4.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.18 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking handlebars v3.5.2 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking actix-files v0.5.0 [INFO] [stderr] Checking actix-cors v0.5.4 [INFO] [stderr] Checking rust-cms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/tests.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/tests.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/tests.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/tests.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/tests.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/tests.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/tests.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/tests.rs:146:3 [INFO] [stdout] | [INFO] [stdout] 146 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/tests.rs:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutPage` has no field named `page_id` [INFO] [stdout] --> src/tests.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | page_id: Some(-1), [INFO] [stdout] | ^^^^^^^ `MutPage` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `page_name`, `page_url`, `page_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutPage` has no field named `title` [INFO] [stdout] --> src/tests.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | title: String::from("Hello world!"), [INFO] [stdout] | ^^^^^ `MutPage` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `page_name`, `page_url`, `page_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | page_controllers::create_page(serde_json::to_string(&new_page).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/page_controllers.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn create_page( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | req_body: String, [INFO] [stdout] | ---------------- [INFO] [stdout] 60 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `page_id` [INFO] [stdout] --> src/tests.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | page_id: -1, [INFO] [stdout] | ^^^^^^^ `MutModule` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `module_id`, `module_type_id`, `title`, `page_name`, `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | module_controllers::create_module(serde_json::to_string(&new_module).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/module_controllers.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn create_module( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | req_body: String, [INFO] [stdout] | ---------------- [INFO] [stdout] 16 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | page_controllers::delete_page(cleanup_req.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/page_controllers.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | pub async fn delete_page( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | req: HttpRequest, [INFO] [stdout] | ---------------- [INFO] [stdout] 136 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | module_controllers::delete_module(cleanup_req) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/module_controllers.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn delete_module( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 76 | req: HttpRequest, [INFO] [stdout] | ---------------- [INFO] [stdout] 77 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutPage` has no field named `page_id` [INFO] [stdout] --> src/tests.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | page_id: Some(-1), [INFO] [stdout] | ^^^^^^^ `MutPage` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `page_name`, `page_url`, `page_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutPage` has no field named `title` [INFO] [stdout] --> src/tests.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | title: String::from("Hello world!"), [INFO] [stdout] | ^^^^^ `MutPage` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `page_name`, `page_url`, `page_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | let resp = page_controllers::create_page(serde_json::to_string(&new_page).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/page_controllers.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn create_page( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | req_body: String, [INFO] [stdout] | ---------------- [INFO] [stdout] 60 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/tests.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | let resp = page_controllers::get_pages().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/page_controllers.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | pub async fn get_pages(pool: web::Data) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | let resp = page_controllers::get_page(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ --- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/page_controllers.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn get_page( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | req: HttpRequest, [INFO] [stdout] | ---------------- [INFO] [stdout] 81 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | let resp = page_controllers::get_page_join_modules(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/page_controllers.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub async fn get_page_join_modules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | req: HttpRequest, [INFO] [stdout] | ---------------- [INFO] [stdout] 99 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutPage` has no field named `page_id` [INFO] [stdout] --> src/tests.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | page_id: None, [INFO] [stdout] | ^^^^^^^ `MutPage` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `page_name`, `page_url`, `page_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutPage` has no field named `title` [INFO] [stdout] --> src/tests.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | title: String::from("Hello world! updated"), [INFO] [stdout] | ^^^^^ `MutPage` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `page_name`, `page_url`, `page_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | let resp = page_controllers::update_page(serde_json::to_string(&new_page).unwrap(), req) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------------------------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/page_controllers.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | pub async fn update_page( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 117 | req_body: String, [INFO] [stdout] | ---------------- [INFO] [stdout] 118 | req: HttpRequest, [INFO] [stdout] | ---------------- [INFO] [stdout] 119 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `page_id` [INFO] [stdout] --> src/tests.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | page_id: -1, [INFO] [stdout] | ^^^^^^^ `MutModule` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `module_id`, `module_type_id`, `title`, `page_name`, `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | let resp = module_controllers::create_module(serde_json::to_string(&new_module).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/module_controllers.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn create_module( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | req_body: String, [INFO] [stdout] | ---------------- [INFO] [stdout] 16 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/tests.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let resp = module_controllers::get_modules().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/module_controllers.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn get_modules(pool: web::Data) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | let resp = module_controllers::get_module(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/module_controllers.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn get_module( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | req: HttpRequest, [INFO] [stdout] | ---------------- [INFO] [stdout] 38 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `page_id` [INFO] [stdout] --> src/tests.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | page_id: -1, [INFO] [stdout] | ^^^^^^^ `MutModule` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `module_id`, `module_type_id`, `title`, `page_name`, `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | let resp = module_controllers::update_module(serde_json::to_string(&new_module).unwrap(), req) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------------------------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/./controllers/module_controllers.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn update_module( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | req_body: String, [INFO] [stdout] | ---------------- [INFO] [stdout] 56 | req: HttpRequest, [INFO] [stdout] | ---------------- [INFO] [stdout] 57 | pool: web::Data, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-cms` [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: build failed [INFO] running `Command { std: "docker" "inspect" "59d18d626500e0d32a1b4f0d95544f22029d22933bf57b94e4a1189dbee2cf7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d18d626500e0d32a1b4f0d95544f22029d22933bf57b94e4a1189dbee2cf7a", kill_on_drop: false }` [INFO] [stdout] 59d18d626500e0d32a1b4f0d95544f22029d22933bf57b94e4a1189dbee2cf7a