[INFO] cloning repository https://github.com/ctaque/actix-restful [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctaque/actix-restful" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctaque%2Factix-restful", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctaque%2Factix-restful'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5f7fffee0e31995c8d20e7d802cf4432033cd74 [INFO] testing ctaque/actix-restful against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctaque%2Factix-restful" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ctaque/actix-restful on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ctaque/actix-restful [INFO] finished tweaking git repo https://github.com/ctaque/actix-restful [INFO] tweaked toml for git repo https://github.com/ctaque/actix-restful written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ctaque/actix-restful already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 315dab5ae784969aca79ed5906ae4039fb905808a690238e65c4e59b1a9b6d9b [INFO] running `Command { std: "docker" "start" "-a" "315dab5ae784969aca79ed5906ae4039fb905808a690238e65c4e59b1a9b6d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "315dab5ae784969aca79ed5906ae4039fb905808a690238e65c4e59b1a9b6d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315dab5ae784969aca79ed5906ae4039fb905808a690238e65c4e59b1a9b6d9b", kill_on_drop: false }` [INFO] [stdout] 315dab5ae784969aca79ed5906ae4039fb905808a690238e65c4e59b1a9b6d9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7729ec63cf83e8a3110073f30f458e14933f067fc6b5695d8d004b595dede44 [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" "e7729ec63cf83e8a3110073f30f458e14933f067fc6b5695d8d004b595dede44", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-restful-cli v0.1.0 (/opt/rustwide/workdir/actix-restful-cli) [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-http v2.2.1 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-restful v0.1.0 (/opt/rustwide/workdir/actix-restful) [INFO] [stderr] Compiling actix-restful-derive v0.1.0 (/opt/rustwide/workdir/actix-restful-derive) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 06s [INFO] running `Command { std: "docker" "inspect" "e7729ec63cf83e8a3110073f30f458e14933f067fc6b5695d8d004b595dede44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7729ec63cf83e8a3110073f30f458e14933f067fc6b5695d8d004b595dede44", kill_on_drop: false }` [INFO] [stdout] e7729ec63cf83e8a3110073f30f458e14933f067fc6b5695d8d004b595dede44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d38a75c9453e9ebc84c80029b81d75c9cfbce988ab355ef1e6b9e720d78133 [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" "98d38a75c9453e9ebc84c80029b81d75c9cfbce988ab355ef1e6b9e720d78133", kill_on_drop: false }` [INFO] [stderr] Compiling actix-restful-cli v0.1.0 (/opt/rustwide/workdir/actix-restful-cli) [INFO] [stderr] Compiling actix-restful v0.1.0 (/opt/rustwide/workdir/actix-restful) [INFO] [stderr] Compiling actix-restful-derive v0.1.0 (/opt/rustwide/workdir/actix-restful-derive) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.77s [INFO] running `Command { std: "docker" "inspect" "98d38a75c9453e9ebc84c80029b81d75c9cfbce988ab355ef1e6b9e720d78133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d38a75c9453e9ebc84c80029b81d75c9cfbce988ab355ef1e6b9e720d78133", kill_on_drop: false }` [INFO] [stdout] 98d38a75c9453e9ebc84c80029b81d75c9cfbce988ab355ef1e6b9e720d78133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e603db8cb567d2dec0f90c38e453f9b18b8fb148fb56d0be4e52ae67aa6e9e3b [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" "e603db8cb567d2dec0f90c38e453f9b18b8fb148fb56d0be4e52ae67aa6e9e3b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_restful-bbcc7f515d001394) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_restful-83b4cc9926880635) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/actix_restful_derive-4baae1d1209f6db8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests actix-restful [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stdout] test src/lib.rs - NewModel (line 179) ... FAILED [INFO] [stdout] test src/lib.rs - gen_endpoint (line 288) ... FAILED [INFO] [stdout] test src/lib.rs - UpdatableModel (line 207) ... FAILED [INFO] [stdout] test src/lib.rs - Model (line 143) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 3) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `actix_restful_derive`, `actix_web`, `serde_json` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | use actix_restful_derive::{HttpCreate, HttpFindListDelete, HttpUpdate, actix_restful_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_restful_derive` [INFO] [stdout] ... [INFO] [stdout] 18 | use actix_web; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/lib.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Serialize, Deserialize, HttpFindListDelete)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Serialize, Deserialize, HttpFindListDelete)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `HttpFindListDelete` [INFO] [stdout] --> src/lib.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Serialize, Deserialize, HttpFindListDelete)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `http_find_list_delete` in this scope [INFO] [stdout] --> src/lib.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[http_find_list_delete(Id, FindQuery, ListQuery, DeleteQuery, AppState)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `actix_restful_info` [INFO] [stdout] --> src/lib.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[actix_restful_info(scope = "/v1", path = "item")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Serialize, Deserialize, HttpCreate)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Serialize, Deserialize, HttpCreate)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `HttpCreate` [INFO] [stdout] --> src/lib.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Serialize, Deserialize, HttpCreate)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `http_create` in this scope [INFO] [stdout] --> src/lib.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 87 | #[http_create(SaveQuery, AppState)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/lib.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Serialize, Deserialize, HttpUpdate)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Serialize, Deserialize, HttpUpdate)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `HttpUpdate` [INFO] [stdout] --> src/lib.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Serialize, Deserialize, HttpUpdate)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `http_update` in this scope [INFO] [stdout] --> src/lib.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 107 | #[http_update(Id, UpdateQuery, Item, FindQuery, AppState)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc` [INFO] [stdout] --> src/lib.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 80 | let utc: DateTime = Utc::now(); [INFO] [stdout] | ^^^ use of undeclared type `Utc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc` [INFO] [stdout] --> src/lib.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 95 | let utc: DateTime = Utc::now(); [INFO] [stdout] | ^^^ use of undeclared type `Utc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc` [INFO] [stdout] --> src/lib.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 117 | let utc: DateTime = Utc::now(); [INFO] [stdout] | ^^^ use of undeclared type `Utc` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> src/lib.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 43 | deleted_at: Option>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 40 | struct Item { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 43 | deleted_at: Option>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> src/lib.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 44 | updated_at: Option>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope [INFO] [stdout] --> src/lib.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 40 | struct Item { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 44 | updated_at: Option>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> src/lib.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 45 | created_at: Option>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope [INFO] [stdout] --> src/lib.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 40 | struct Item { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | created_at: Option>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> src/lib.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 80 | let utc: DateTime = Utc::now(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope [INFO] [stdout] --> src/lib.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 49 | impl Model for Item { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 80 | let utc: DateTime = Utc::now(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> src/lib.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 95 | let utc: DateTime = Utc::now(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope [INFO] [stdout] --> src/lib.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 92 | impl NewModel for NewItem { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 95 | let utc: DateTime = Utc::now(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> src/lib.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 111 | updated_at: Option>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope [INFO] [stdout] --> src/lib.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 108 | struct UpdatableItem { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 111 | updated_at: Option>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> src/lib.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 117 | let utc: DateTime = Utc::now(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope [INFO] [stdout] --> src/lib.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 114 | impl UpdatableModel for UpdatableItem { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 117 | let utc: DateTime = Utc::now(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 57 | deleted_at: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 71 | deleted_at: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `scope` found for struct `Item` in the current scope [INFO] [stdout] --> src/lib.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 40 | struct Item { [INFO] [stdout] | ----------- function or associated item `scope` not found for this [INFO] [stdout] ... [INFO] [stdout] 127 | .service(actix_web::web::scope(Item::scope()).configure(gen_endpoint!(Item, NewItem, UpdatableItem))) [INFO] [stdout] | ^^^^^ function or associated item not found in `Item` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `scope`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `RestfulPathInfo` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `path` found for struct `Item` in the current scope [INFO] [stdout] --> src/lib.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 40 | struct Item { [INFO] [stdout] | ----------- function or associated item `path` not found for this [INFO] [stdout] ... [INFO] [stdout] 127 | .service(actix_web::web::scope(Item::scope()).configure(gen_endpoint!(Item, NewItem, UpdatableItem))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Item` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `path`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `RestfulPathInfo` [INFO] [stdout] candidate #2: `ResourcePath` [INFO] [stdout] = note: this error originates in the macro `gen_endpoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http_find` found for struct `Item` in the current scope [INFO] [stdout] --> src/lib.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 40 | struct Item { [INFO] [stdout] | ----------- function or associated item `http_find` not found for this [INFO] [stdout] ... [INFO] [stdout] 127 | .service(actix_web::web::scope(Item::scope()).configure(gen_endpoint!(Item, NewItem, UpdatableItem))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Item` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `http_find`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `HttpFindListDelete` [INFO] [stdout] = note: this error originates in the macro `gen_endpoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http_delete` found for struct `Item` in the current scope [INFO] [stdout] --> src/lib.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 40 | struct Item { [INFO] [stdout] | ----------- function or associated item `http_delete` not found for this [INFO] [stdout] ... [INFO] [stdout] 127 | .service(actix_web::web::scope(Item::scope()).configure(gen_endpoint!(Item, NewItem, UpdatableItem))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Item` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `http_delete`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `HttpFindListDelete` [INFO] [stdout] = note: this error originates in the macro `gen_endpoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http_update` found for struct `UpdatableItem` in the current scope [INFO] [stdout] --> src/lib.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 108 | struct UpdatableItem { [INFO] [stdout] | -------------------- function or associated item `http_update` not found for this [INFO] [stdout] ... [INFO] [stdout] 127 | .service(actix_web::web::scope(Item::scope()).configure(gen_endpoint!(Item, NewItem, UpdatableItem))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `UpdatableItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `http_update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `HttpUpdate` [INFO] [stdout] = note: this error originates in the macro `gen_endpoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `http_list` found for struct `Item` in the current scope [INFO] [stdout] --> src/lib.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 40 | struct Item { [INFO] [stdout] | ----------- function or associated item `http_list` not found for this [INFO] [stdout] ... [INFO] [stdout] 127 | .service(actix_web::web::scope(Item::scope()).configure(gen_endpoint!(Item, NewItem, UpdatableItem))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Item` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `http_list`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `HttpFindListDelete` [INFO] [stdout] = note: this error originates in the macro `gen_endpoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] error[E0599]: no function or associated item named `http_create` found for struct `NewItem` in the current scope [INFO] [stdout] --> src/lib.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 88 | struct NewItem { [INFO] [stdout] | -------------- function or associated item `http_create` not found for this [INFO] [stdout] ... [INFO] [stdout] 127 | .service(actix_web::web::scope(Item::scope()).configure(gen_endpoint!(Item, NewItem, UpdatableItem))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `NewItem` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `http_create`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `HttpCreate` [INFO] [stdout] = note: this error originates in the macro `gen_endpoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Serialize, Deserialize, HttpFindListDelete)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 43 | deleted_at: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, E0412, E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - NewModel (line 179) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `actix_restful_derive` [INFO] [stdout] --> src/lib.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_restful_derive::HttpCreate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_restful_derive` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `HttpCreate` [INFO] [stdout] --> src/lib.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(HttpCreate)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `http_create` in this scope [INFO] [stdout] --> src/lib.rs:190:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[http_create(SaveQuery, AppState)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 19 | impl NewModel for NewItem { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SaveQuery` in this scope [INFO] [stdout] --> src/lib.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 19 | impl NewModel for NewItem { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 19 | impl NewModel for NewItem { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SaveQuery` in this scope [INFO] [stdout] --> src/lib.rs:196:39 [INFO] [stdout] | [INFO] [stdout] 20 | async fn save(self: Self, _query: &SaveQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:196:59 [INFO] [stdout] | [INFO] [stdout] 20 | async fn save(self: Self, _query: &SaveQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:196:79 [INFO] [stdout] | [INFO] [stdout] 19 | impl NewModel for NewItem { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 20 | async fn save(self: Self, _query: &SaveQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gen_endpoint (line 288) stdout ---- [INFO] [stdout] error: cannot find macro `gen_endpoint` in this scope [INFO] [stdout] --> src/lib.rs:294:68 [INFO] [stdout] | [INFO] [stdout] 7 | .service(actix_web::web::scope(Item::scope()).configure(gen_endpoint!(Item, NewItem, UpdatableItem))) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] actix_restful::gen_endpoint [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Item` [INFO] [stdout] --> src/lib.rs:294:43 [INFO] [stdout] | [INFO] [stdout] 7 | .service(actix_web::web::scope(Item::scope()).configure(gen_endpoint!(Item, NewItem, UpdatableItem))) [INFO] [stdout] | ^^^^ use of undeclared type `Item` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:295:18 [INFO] [stdout] | [INFO] [stdout] 8 | .data(AppState{}) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - UpdatableModel (line 207) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `actix_restful_derive` [INFO] [stdout] --> src/lib.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_restful_derive::HttpUpdate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_restful_derive` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `HttpUpdate` [INFO] [stdout] --> src/lib.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(HttpUpdate)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `http_update` in this scope [INFO] [stdout] --> src/lib.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[http_update(Id, UpdateQuery, Item, FindQuery, AppState)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UpdateQuery` in this scope [INFO] [stdout] --> src/lib.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 19 | impl UpdatableModel for UpdatableItem { [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:223:49 [INFO] [stdout] | [INFO] [stdout] 19 | impl UpdatableModel for UpdatableItem { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UpdateQuery` in this scope [INFO] [stdout] --> src/lib.rs:224:46 [INFO] [stdout] | [INFO] [stdout] 20 | async fn update(mut self: Self, _query: &UpdateQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:224:68 [INFO] [stdout] | [INFO] [stdout] 20 | async fn update(mut self: Self, _query: &UpdateQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 20 | async fn update(mut self: Self, _query: &UpdateQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found `()` [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Model (line 143) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `actix_restful_derive` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 10 | use actix_restful_derive::{HttpFindListDelete, actix_restful_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_restful_derive` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `HttpFindListDelete` [INFO] [stdout] --> src/lib.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(HttpFindListDelete)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `http_find_list_delete` in this scope [INFO] [stdout] --> src/lib.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[http_find_list_delete(Id, FindQuery, ListQuery, DeleteQuery, AppState)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `actix_restful_info` [INFO] [stdout] --> src/lib.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[actix_restful_info(scope = "/v1", path = "item")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Id` in this scope [INFO] [stdout] --> src/lib.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model for Item { [INFO] [stdout] | - ^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FindQuery` in this scope [INFO] [stdout] --> src/lib.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model for Item { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListQuery` in this scope [INFO] [stdout] --> src/lib.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model for Item { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListResult` in this scope [INFO] [stdout] --> src/lib.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model for Item { [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeleteQuery` in this scope [INFO] [stdout] --> src/lib.rs:161:50 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model for Item { [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeleteResult` in this scope [INFO] [stdout] --> src/lib.rs:161:63 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model for Item { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:161:77 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model for Item { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Id` in this scope [INFO] [stdout] --> src/lib.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 22 | async fn find(id: Id, _query: &FindQuery, _state: &AppState) -> Result> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FindQuery` in this scope [INFO] [stdout] --> src/lib.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 22 | async fn find(id: Id, _query: &FindQuery, _state: &AppState) -> Result> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:162:55 [INFO] [stdout] | [INFO] [stdout] 22 | async fn find(id: Id, _query: &FindQuery, _state: &AppState) -> Result> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListQuery` in this scope [INFO] [stdout] --> src/lib.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 24 | async fn list(_query: &ListQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:164:47 [INFO] [stdout] | [INFO] [stdout] 24 | async fn list(_query: &ListQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListResult` in this scope [INFO] [stdout] --> src/lib.rs:164:67 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model for Item { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 24 | async fn list(_query: &ListQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeleteQuery` in this scope [INFO] [stdout] --> src/lib.rs:166:45 [INFO] [stdout] | [INFO] [stdout] 26 | async fn delete(mut self: Self, _query: &DeleteQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:166:67 [INFO] [stdout] | [INFO] [stdout] 26 | async fn delete(mut self: Self, _query: &DeleteQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeleteResult` in this scope [INFO] [stdout] --> src/lib.rs:166:87 [INFO] [stdout] | [INFO] [stdout] 21 | impl Model for Item { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 26 | async fn delete(mut self: Self, _query: &DeleteQuery, _state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 22 | async fn find(id: Id, _query: &FindQuery, _state: &AppState) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found `()` [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, anyhow::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 3) [INFO] [stdout] src/lib.rs - Model (line 143) [INFO] [stdout] src/lib.rs - NewModel (line 179) [INFO] [stdout] src/lib.rs - UpdatableModel (line 207) [INFO] [stdout] src/lib.rs - gen_endpoint (line 288) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.78s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e603db8cb567d2dec0f90c38e453f9b18b8fb148fb56d0be4e52ae67aa6e9e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e603db8cb567d2dec0f90c38e453f9b18b8fb148fb56d0be4e52ae67aa6e9e3b", kill_on_drop: false }` [INFO] [stdout] e603db8cb567d2dec0f90c38e453f9b18b8fb148fb56d0be4e52ae67aa6e9e3b