[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 master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctaque%2Factix-restful" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ctaque/actix-restful on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anyhow v1.0.51
[INFO] [stderr]   Downloaded structopt v0.3.25
[INFO] [stderr]   Downloaded darling_core v0.13.1
[INFO] [stderr]   Downloaded darling_macro v0.13.1
[INFO] [stderr]   Downloaded darling v0.13.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a1c176ce340de36337c1d2a59ff22f461a2b1fc6a6419a5cb30a575b15126a24
[INFO] running `Command { std: "docker" "start" "-a" "a1c176ce340de36337c1d2a59ff22f461a2b1fc6a6419a5cb30a575b15126a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a1c176ce340de36337c1d2a59ff22f461a2b1fc6a6419a5cb30a575b15126a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1c176ce340de36337c1d2a59ff22f461a2b1fc6a6419a5cb30a575b15126a24", kill_on_drop: false }`
[INFO] [stdout] a1c176ce340de36337c1d2a59ff22f461a2b1fc6a6419a5cb30a575b15126a24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10960553e57d804347b08cb433ced094f6296d65cd389b03e5ef74928eb6740f
[INFO] running `Command { std: "docker" "start" "-a" "10960553e57d804347b08cb433ced094f6296d65cd389b03e5ef74928eb6740f", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling futures-sink v0.3.17
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling futures-io v0.3.17
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling serde_derive v1.0.132
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling serde v1.0.132
[INFO] [stderr]    Compiling ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling const_fn v0.4.8
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling http v0.2.5
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling flate2 v1.0.22
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling bytestring v1.0.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling anyhow v1.0.51
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling darling_core v0.13.1
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling rustls v0.18.1
[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 time-macros-impl v0.1.2
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling darling_macro v0.13.1
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling pin-project v0.4.28
[INFO] [stderr]    Compiling actix-codec v0.3.0
[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 actix-restful-cli v0.1.0 (/opt/rustwide/workdir/actix-restful-cli)
[INFO] [stderr]    Compiling darling v0.13.1
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling actix-rt v1.1.1
[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 actix-server v1.0.4
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.7
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling actix-connect v2.0.0
[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` profile [unoptimized + debuginfo] target(s) in 17.20s
[INFO] running `Command { std: "docker" "inspect" "10960553e57d804347b08cb433ced094f6296d65cd389b03e5ef74928eb6740f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10960553e57d804347b08cb433ced094f6296d65cd389b03e5ef74928eb6740f", kill_on_drop: false }`
[INFO] [stdout] 10960553e57d804347b08cb433ced094f6296d65cd389b03e5ef74928eb6740f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16bd20810eeaad11f2e5890c31bff40daa1612a2fd4a4a049736e25b157809f6
[INFO] running `Command { std: "docker" "start" "-a" "16bd20810eeaad11f2e5890c31bff40daa1612a2fd4a4a049736e25b157809f6", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[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]    Compiling actix-restful-cli v0.1.0 (/opt/rustwide/workdir/actix-restful-cli)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s
[INFO] running `Command { std: "docker" "inspect" "16bd20810eeaad11f2e5890c31bff40daa1612a2fd4a4a049736e25b157809f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16bd20810eeaad11f2e5890c31bff40daa1612a2fd4a4a049736e25b157809f6", kill_on_drop: false }`
[INFO] [stdout] 16bd20810eeaad11f2e5890c31bff40daa1612a2fd4a4a049736e25b157809f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a5a0565d9c44db63f886ab8730fe25af6de021349c5073711ce4926b251672f0
[INFO] running `Command { std: "docker" "start" "-a" "a5a0565d9c44db63f886ab8730fe25af6de021349c5073711ce4926b251672f0", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_restful-233dc8b483f3bd58)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/actix_restful-94a960aaa1571e16)
[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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_restful_derive-ccea13e99ffac380)
[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 5 tests
[INFO] [stdout] test actix-restful/src/lib.rs - gen_endpoint (line 288) ... FAILED
[INFO] [stdout] test actix-restful/src/lib.rs - UpdatableModel (line 207) ... FAILED
[INFO] [stdout] test actix-restful/src/lib.rs - NewModel (line 179) ... FAILED
[INFO] [stdout] test actix-restful/src/lib.rs - Model (line 143) ... FAILED
[INFO] [stdout] test actix-restful/src/lib.rs - (line 3) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- actix-restful/src/lib.rs - gen_endpoint (line 288) stdout ----
[INFO] [stdout] error: cannot find macro `gen_endpoint` in this scope
[INFO] [stdout]  --> actix-restful/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] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 3 + use actix_restful::gen_endpoint;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AppState` in this scope
[INFO] [stdout]  --> actix-restful/src/lib.rs:295:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |            .data(AppState{})
[INFO] [stdout]   |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Item`
[INFO] [stdout]  --> actix-restful/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: 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] ---- actix-restful/src/lib.rs - UpdatableModel (line 207) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `actix_restful_derive`
[INFO] [stdout]   --> actix-restful/src/lib.rs:214:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use actix_restful_derive::HttpUpdate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_restful_derive`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `http_update` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:219:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[http_update(Id, UpdateQuery, Item, FindQuery, AppState)]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UpdateQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:224:36
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl UpdatableModel<UpdatableItem, UpdateQuery, AppState> 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] 20 | impl<UpdateQuery> UpdatableModel<UpdatableItem, UpdateQuery, AppState> for UpdatableItem {
[INFO] [stdout]    |     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:224:49
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl UpdatableModel<UpdatableItem, UpdateQuery, AppState> 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] 20 | impl<AppState> UpdatableModel<UpdatableItem, UpdateQuery, AppState> for UpdatableItem {
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UpdateQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:225:46
[INFO] [stdout]    |
[INFO] [stdout] 21 |     async fn update(mut self: Self, _query: &UpdateQuery, _state: &AppState) -> Result<UpdatableItem> {
[INFO] [stdout]    |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:225:68
[INFO] [stdout]    |
[INFO] [stdout] 21 |     async fn update(mut self: Self, _query: &UpdateQuery, _state: &AppState) -> Result<UpdatableItem> {
[INFO] [stdout]    |                                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> actix-restful/src/lib.rs:225:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |     async fn update(mut self: Self, _query: &UpdateQuery, _state: &AppState) -> Result<UpdatableItem> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected `Result<UpdatableItem, Error>`, found `()`
[INFO] [stdout]    |              implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<UpdatableItem, anyhow::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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] ---- actix-restful/src/lib.rs - NewModel (line 179) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `actix_restful_derive`
[INFO] [stdout]   --> actix-restful/src/lib.rs:186:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use actix_restful_derive::HttpCreate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_restful_derive`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `http_create` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:191:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[http_create(SaveQuery, AppState)]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:196:15
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl NewModel<Item, SaveQuery, AppState> 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] 20 | impl<Item> NewModel<Item, SaveQuery, AppState> for NewItem {
[INFO] [stdout]    |     ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SaveQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:196:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl NewModel<Item, SaveQuery, AppState> 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] 20 | impl<SaveQuery> NewModel<Item, SaveQuery, AppState> for NewItem {
[INFO] [stdout]    |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:196:32
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl NewModel<Item, SaveQuery, AppState> 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] 20 | impl<AppState> NewModel<Item, SaveQuery, AppState> for NewItem {
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SaveQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:197:39
[INFO] [stdout]    |
[INFO] [stdout] 21 |    async fn save(self: Self, _query: &SaveQuery, _state: &AppState) -> Result<Item> {
[INFO] [stdout]    |                                       ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:197:59
[INFO] [stdout]    |
[INFO] [stdout] 21 |    async fn save(self: Self, _query: &SaveQuery, _state: &AppState) -> Result<Item> {
[INFO] [stdout]    |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Item` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:197:79
[INFO] [stdout]    |
[INFO] [stdout] 21 |    async fn save(self: Self, _query: &SaveQuery, _state: &AppState) -> Result<Item> {
[INFO] [stdout]    |                                                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<Item> NewModel<Item, SaveQuery, AppState> for NewItem {
[INFO] [stdout]    |     ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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] ---- actix-restful/src/lib.rs - Model (line 143) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `actix_restful_derive`
[INFO] [stdout]   --> actix-restful/src/lib.rs:151:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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 find attribute `http_find_list_delete` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:156:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[http_find_list_delete(Id, FindQuery, ListQuery, DeleteQuery, AppState)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Id` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:162:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> 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] 22 | impl<Id> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FindQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:162:16
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> 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] 22 | impl<FindQuery> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ListQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:162:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> 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] 22 | impl<ListQuery> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ListResult` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:162:38
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> 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] 22 | impl<ListResult> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DeleteQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:162:50
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> 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] 22 | impl<DeleteQuery> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DeleteResult` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:162:63
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> 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] 22 | impl<DeleteResult> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:162:77
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> 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] 22 | impl<AppState> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Id` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:163:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |    async fn find(id: Id, _query: &FindQuery, _state: &AppState) -> Result<Box<Item>> {
[INFO] [stdout]    |                      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FindQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:163:35
[INFO] [stdout]    |
[INFO] [stdout] 23 |    async fn find(id: Id, _query: &FindQuery, _state: &AppState) -> Result<Box<Item>> {
[INFO] [stdout]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:163:55
[INFO] [stdout]    |
[INFO] [stdout] 23 |    async fn find(id: Id, _query: &FindQuery, _state: &AppState) -> Result<Box<Item>> {
[INFO] [stdout]    |                                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ListQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:165:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |    async fn list(_query: &ListQuery, _state: &AppState) -> Result<ListResult> {
[INFO] [stdout]    |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:165:47
[INFO] [stdout]    |
[INFO] [stdout] 25 |    async fn list(_query: &ListQuery, _state: &AppState) -> Result<ListResult> {
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ListResult` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:165:67
[INFO] [stdout]    |
[INFO] [stdout] 25 |    async fn list(_query: &ListQuery, _state: &AppState) -> Result<ListResult> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<ListResult> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DeleteQuery` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:167:45
[INFO] [stdout]    |
[INFO] [stdout] 27 |    async fn delete(mut self: Self, _query: &DeleteQuery, _state: &AppState) -> Result<DeleteResult> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:167:67
[INFO] [stdout]    |
[INFO] [stdout] 27 |    async fn delete(mut self: Self, _query: &DeleteQuery, _state: &AppState) -> Result<DeleteResult> {
[INFO] [stdout]    |                                                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DeleteResult` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:167:87
[INFO] [stdout]    |
[INFO] [stdout] 27 |    async fn delete(mut self: Self, _query: &DeleteQuery, _state: &AppState) -> Result<DeleteResult> {
[INFO] [stdout]    |                                                                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<DeleteResult> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> actix-restful/src/lib.rs:163:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |    async fn find(id: Id, _query: &FindQuery, _state: &AppState) -> Result<Box<Item>> {
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected `Result<Box<Item>, Error>`, found `()`
[INFO] [stdout]    |             implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Box<Item>, anyhow::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 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] ---- actix-restful/src/lib.rs - (line 3) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
[INFO] [stdout]   --> actix-restful/src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `chrono`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> actix-restful/src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `serde`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `actix_restful_derive`
[INFO] [stdout]   --> actix-restful/src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | 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] error: cannot find attribute `http_find_list_delete` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[http_find_list_delete(Id, FindQuery, ListQuery, DeleteQuery, AppState)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `http_create` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:89:3
[INFO] [stdout]    |
[INFO] [stdout] 88 | #[http_create(SaveQuery, AppState)]
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `http_update` in this scope
[INFO] [stdout]    --> actix-restful/src/lib.rs:109:3
[INFO] [stdout]     |
[INFO] [stdout] 108 | #[http_update(Id, UpdateQuery, Item, FindQuery, AppState)]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |    deleted_at: Option<DateTime<Utc>>,
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:45:32
[INFO] [stdout]    |
[INFO] [stdout] 44 |    deleted_at: Option<DateTime<Utc>>,
[INFO] [stdout]    |                                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Item<Utc> {
[INFO] [stdout]    |            +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 45 |    updated_at: Option<DateTime<Utc>>,
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:46:32
[INFO] [stdout]    |
[INFO] [stdout] 45 |    updated_at: Option<DateTime<Utc>>,
[INFO] [stdout]    |                                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Item<Utc> {
[INFO] [stdout]    |            +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |    created_at: Option<DateTime<Utc>>,
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:47:32
[INFO] [stdout]    |
[INFO] [stdout] 46 |    created_at: Option<DateTime<Utc>>,
[INFO] [stdout]    |                                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct Item<Utc> {
[INFO] [stdout]    |            +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |        let utc: DateTime<Utc> = Utc::now();
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 81 |        let utc: DateTime<Utc> = Utc::now();
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl<Utc> Model<Id, FindQuery, ListQuery, ListResult, DeleteQuery, DeleteResult, AppState> for Item {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:97:18
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let utc: DateTime<Utc> = Utc::now();
[INFO] [stdout]    |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope
[INFO] [stdout]   --> actix-restful/src/lib.rs:97:27
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let utc: DateTime<Utc> = Utc::now();
[INFO] [stdout]    |                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 93 | impl<Utc> NewModel<Item, SaveQuery, AppState> for NewItem {
[INFO] [stdout]    |     +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope
[INFO] [stdout]    --> actix-restful/src/lib.rs:113:24
[INFO] [stdout]     |
[INFO] [stdout] 112 |     updated_at: Option<DateTime<Utc>>,
[INFO] [stdout]     |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope
[INFO] [stdout]    --> actix-restful/src/lib.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 112 |     updated_at: Option<DateTime<Utc>>,
[INFO] [stdout]     |                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct UpdatableItem<Utc> {
[INFO] [stdout]     |                     +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope
[INFO] [stdout]    --> actix-restful/src/lib.rs:119:18
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let utc: DateTime<Utc> = Utc::now();
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope
[INFO] [stdout]    --> actix-restful/src/lib.rs:119:27
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let utc: DateTime<Utc> = Utc::now();
[INFO] [stdout]     |                           ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl<Utc> UpdatableModel<UpdatableItem, UpdateQuery, AppState> for UpdatableItem {
[INFO] [stdout]     |     +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc`
[INFO] [stdout]   --> actix-restful/src/lib.rs:82:33
[INFO] [stdout]    |
[INFO] [stdout] 81 |        let utc: DateTime<Utc> = 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]   --> actix-restful/src/lib.rs:97:34
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let utc: DateTime<Utc> = 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]    --> actix-restful/src/lib.rs:119:34
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let utc: DateTime<Utc> = Utc::now();
[INFO] [stdout]     |                                  ^^^ use of undeclared type `Utc`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `scope` found for struct `Item` in the current scope
[INFO] [stdout]    --> actix-restful/src/lib.rs:129:46
[INFO] [stdout]     |
[INFO] [stdout] 41  | struct Item {
[INFO] [stdout]     | ----------- function or associated item `scope` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         .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]    --> actix-restful/src/lib.rs:129:65
[INFO] [stdout]     |
[INFO] [stdout] 41  | struct Item {
[INFO] [stdout]     | ----------- function or associated item `path` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         .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: `ResourcePath`
[INFO] [stdout]             candidate #2: `RestfulPathInfo`
[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]    --> actix-restful/src/lib.rs:129:65
[INFO] [stdout]     |
[INFO] [stdout] 41  | struct Item {
[INFO] [stdout]     | ----------- function or associated item `http_find` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         .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]    --> actix-restful/src/lib.rs:129:65
[INFO] [stdout]     |
[INFO] [stdout] 41  | struct Item {
[INFO] [stdout]     | ----------- function or associated item `http_delete` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         .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] help: there is a method `delete` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/actix-restful/src/lib.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 |     async fn delete(self: Self, query: &DQ, state: &AppState) -> Result<DR>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]    --> actix-restful/src/lib.rs:129:65
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct UpdatableItem {
[INFO] [stdout]     | -------------------- function or associated item `http_update` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         .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] help: there is a method `update` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/actix-restful/src/lib.rs:230:5
[INFO] [stdout]     |
[INFO] [stdout] 230 |     async fn update(self: Self, query: &Q, state: &AppState) -> Result<T>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]    --> actix-restful/src/lib.rs:129:65
[INFO] [stdout]     |
[INFO] [stdout] 41  | struct Item {
[INFO] [stdout]     | ----------- function or associated item `http_list` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         .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] [stdout] error[E0599]: no function or associated item named `http_create` found for struct `NewItem` in the current scope
[INFO] [stdout]    --> actix-restful/src/lib.rs:129:65
[INFO] [stdout]     |
[INFO] [stdout] 89  | struct NewItem {
[INFO] [stdout]     | -------------- function or associated item `http_create` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |         .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: aborting due to 30 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     actix-restful/src/lib.rs - (line 3)
[INFO] [stdout]     actix-restful/src/lib.rs - Model (line 143)
[INFO] [stdout]     actix-restful/src/lib.rs - NewModel (line 179)
[INFO] [stdout]     actix-restful/src/lib.rs - UpdatableModel (line 207)
[INFO] [stdout]     actix-restful/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 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p actix-restful --doc`
[INFO] running `Command { std: "docker" "inspect" "a5a0565d9c44db63f886ab8730fe25af6de021349c5073711ce4926b251672f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5a0565d9c44db63f886ab8730fe25af6de021349c5073711ce4926b251672f0", kill_on_drop: false }`
[INFO] [stdout] a5a0565d9c44db63f886ab8730fe25af6de021349c5073711ce4926b251672f0
