[INFO] fetching crate contraband_codegen 0.1.2... [INFO] testing contraband_codegen-0.1.2 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate contraband_codegen 0.1.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate contraband_codegen 0.1.2 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate contraband_codegen 0.1.2 [INFO] finished tweaking crates.io crate contraband_codegen 0.1.2 [INFO] tweaked toml for crates.io crate contraband_codegen 0.1.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9baebe1832a524550a7bcd3a55cb6cc40bee7a11c4a39d9548556021c6030d7 [INFO] running `Command { std: "docker" "start" "-a" "a9baebe1832a524550a7bcd3a55cb6cc40bee7a11c4a39d9548556021c6030d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9baebe1832a524550a7bcd3a55cb6cc40bee7a11c4a39d9548556021c6030d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9baebe1832a524550a7bcd3a55cb6cc40bee7a11c4a39d9548556021c6030d7", kill_on_drop: false }` [INFO] [stdout] a9baebe1832a524550a7bcd3a55cb6cc40bee7a11c4a39d9548556021c6030d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a294d4d6423af9f28553855b981c8a9393e43ad1df7b9f312bb1dff65c0b541 [INFO] running `Command { std: "docker" "start" "-a" "3a294d4d6423af9f28553855b981c8a9393e43ad1df7b9f312bb1dff65c0b541", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.15 [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 threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling contraband_codegen v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.44s [INFO] running `Command { std: "docker" "inspect" "3a294d4d6423af9f28553855b981c8a9393e43ad1df7b9f312bb1dff65c0b541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a294d4d6423af9f28553855b981c8a9393e43ad1df7b9f312bb1dff65c0b541", kill_on_drop: false }` [INFO] [stdout] 3a294d4d6423af9f28553855b981c8a9393e43ad1df7b9f312bb1dff65c0b541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38b8b3df8b166adb0bf9259d4dad4820fcb1c794cbd73c3627345fbe359b1c74 [INFO] running `Command { std: "docker" "start" "-a" "38b8b3df8b166adb0bf9259d4dad4820fcb1c794cbd73c3627345fbe359b1c74", kill_on_drop: false }` [INFO] [stderr] Compiling contraband_codegen v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "38b8b3df8b166adb0bf9259d4dad4820fcb1c794cbd73c3627345fbe359b1c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b8b3df8b166adb0bf9259d4dad4820fcb1c794cbd73c3627345fbe359b1c74", kill_on_drop: false }` [INFO] [stdout] 38b8b3df8b166adb0bf9259d4dad4820fcb1c794cbd73c3627345fbe359b1c74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f61a7a8e8cefc6ae276b48a43113fc1d4f11fac7446a3548cf9f7c05b010edb [INFO] running `Command { std: "docker" "start" "-a" "8f61a7a8e8cefc6ae276b48a43113fc1d4f11fac7446a3548cf9f7c05b010edb", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/contraband_codegen-a3ee9aaa35e5c7e6) [INFO] [stderr] Doc-tests contraband_codegen [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 4 tests [INFO] [stdout] test src/lib.rs - module (line 148) - compile ... FAILED [INFO] [stdout] test src/lib.rs - controller (line 405) - compile ... FAILED [INFO] [stdout] test src/lib.rs - module (line 184) - compile ... FAILED [INFO] [stdout] test src/lib.rs - module (line 236) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - module (line 148) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `contraband` [INFO] [stdout] --> src/lib.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 2 | use contraband::core::ContrabandApp; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `contraband` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 3 | use contraband::module; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `contraband` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 4 | use contraband::{Injectable, controller}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `contraband` [INFO] [stdout] --> src/lib.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[contraband::main] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `module` [INFO] [stdout] --> src/lib.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[module] [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 attribute macro `controller` [INFO] [stdout] --> src/lib.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[controller(HelloController)] [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 attribute macro `controller` [INFO] [stdout] --> src/lib.rs:157:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[controller] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:159:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[get] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Injectable` [INFO] [stdout] --> src/lib.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Injectable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContrabandApp` [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 24 | ContrabandApp::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ContrabandApp` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 23 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - controller (line 405) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `contraband` [INFO] [stdout] --> src/lib.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 4 | use contraband::core::ContrabandApp; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `contraband` [INFO] [stdout] --> src/lib.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 3 | use contraband::{Injectable, controller}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/lib.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/lib.rs:413:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[controller] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:415:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[get] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Injectable` [INFO] [stdout] --> src/lib.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Injectable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - module (line 184) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `contraband` [INFO] [stdout] --> src/lib.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 2 | use contraband::core::ContrabandApp; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `contraband` [INFO] [stdout] --> src/lib.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 3 | use contraband::module; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `contraband` [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 4 | use contraband::{Injectable, controller}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `contraband` [INFO] [stdout] --> src/lib.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[contraband::main] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `module` [INFO] [stdout] --> src/lib.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[module] [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 attribute macro `controller` [INFO] [stdout] --> src/lib.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[controller(HelloController)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `provider` in this scope [INFO] [stdout] --> src/lib.rs:215:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[provider(HelloService)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/lib.rs:204:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[controller] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[get] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Injectable` [INFO] [stdout] --> src/lib.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Injectable)] [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 `Injectable` [INFO] [stdout] --> src/lib.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Injectable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContrabandApp` [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 37 | ContrabandApp::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ContrabandApp` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 36 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - module (line 236) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `contraband` [INFO] [stdout] --> src/lib.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 2 | use contraband::core::ContrabandApp; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `contraband` [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 3 | use contraband::module; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `contraband` [INFO] [stdout] --> src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 4 | use contraband::{Injectable, controller}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/lib.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpResponse; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `contraband` [INFO] [stdout] --> src/lib.rs:275:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[contraband::main] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `contraband` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `module` [INFO] [stdout] --> src/lib.rs:270:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[module] [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 attribute macro `controller` [INFO] [stdout] --> src/lib.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[controller(HelloController)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `import` in this scope [INFO] [stdout] --> src/lib.rs:272:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[import(HelloModule)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `controller` [INFO] [stdout] --> src/lib.rs:261:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[controller] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:263:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[get] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Injectable` [INFO] [stdout] --> src/lib.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Injectable)] [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 attribute macro `module` [INFO] [stdout] --> src/lib.rs:251:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[module] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[export(HelloService)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `provider` in this scope [INFO] [stdout] --> src/lib.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[provider(HelloService)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Injectable` [INFO] [stdout] --> src/lib.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Injectable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContrabandApp` [INFO] [stdout] --> src/lib.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 42 | ContrabandApp::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ContrabandApp` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 41 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - controller (line 405) [INFO] [stdout] src/lib.rs - module (line 148) [INFO] [stdout] src/lib.rs - module (line 184) [INFO] [stdout] src/lib.rs - module (line 236) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "8f61a7a8e8cefc6ae276b48a43113fc1d4f11fac7446a3548cf9f7c05b010edb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f61a7a8e8cefc6ae276b48a43113fc1d4f11fac7446a3548cf9f7c05b010edb", kill_on_drop: false }` [INFO] [stdout] 8f61a7a8e8cefc6ae276b48a43113fc1d4f11fac7446a3548cf9f7c05b010edb