[INFO] fetching crate contraband_codegen 0.1.2... [INFO] testing contraband_codegen-0.1.2 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate contraband_codegen 0.1.2 into /workspace/builds/worker-115/source [INFO] validating manifest of crates.io crate contraband_codegen 0.1.2 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-115/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68bc4069eddba456228dbb8f8dac5d14df36dff4bfe1619e2c107a2e868d9c0a [INFO] running `Command { std: "docker" "start" "-a" "68bc4069eddba456228dbb8f8dac5d14df36dff4bfe1619e2c107a2e868d9c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68bc4069eddba456228dbb8f8dac5d14df36dff4bfe1619e2c107a2e868d9c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68bc4069eddba456228dbb8f8dac5d14df36dff4bfe1619e2c107a2e868d9c0a", kill_on_drop: false }` [INFO] [stdout] 68bc4069eddba456228dbb8f8dac5d14df36dff4bfe1619e2c107a2e868d9c0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c51b5d6743ff3ab947f2244e9a5aae4b457921aaf4aa85ba3409a66e955ebb79 [INFO] running `Command { std: "docker" "start" "-a" "c51b5d6743ff3ab947f2244e9a5aae4b457921aaf4aa85ba3409a66e955ebb79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling derive_more v0.99.17 [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 16.23s [INFO] running `Command { std: "docker" "inspect" "c51b5d6743ff3ab947f2244e9a5aae4b457921aaf4aa85ba3409a66e955ebb79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c51b5d6743ff3ab947f2244e9a5aae4b457921aaf4aa85ba3409a66e955ebb79", kill_on_drop: false }` [INFO] [stdout] c51b5d6743ff3ab947f2244e9a5aae4b457921aaf4aa85ba3409a66e955ebb79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac176e2bfe370f32083b2215ac99c56bc5ce9ff6810c4d7f272194d56bb32506 [INFO] running `Command { std: "docker" "start" "-a" "ac176e2bfe370f32083b2215ac99c56bc5ce9ff6810c4d7f272194d56bb32506", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling contraband_codegen v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "ac176e2bfe370f32083b2215ac99c56bc5ce9ff6810c4d7f272194d56bb32506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac176e2bfe370f32083b2215ac99c56bc5ce9ff6810c4d7f272194d56bb32506", kill_on_drop: false }` [INFO] [stdout] ac176e2bfe370f32083b2215ac99c56bc5ce9ff6810c4d7f272194d56bb32506 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7381136dcdad52887580ddc25b1ad98b6a505ca3e7a3cea9a6b8fcd516a84928 [INFO] running `Command { std: "docker" "start" "-a" "7381136dcdad52887580ddc25b1ad98b6a505ca3e7a3cea9a6b8fcd516a84928", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/contraband_codegen-ae87bc44b93d41fd) [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 contraband_codegen [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use actix_rt::HttpResponse; [INFO] [stdout] | ~~~~~~~~ [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use actix_rt::HttpResponse; [INFO] [stdout] | ~~~~~~~~ [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use actix_rt::HttpResponse; [INFO] [stdout] | ~~~~~~~~ [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use actix_rt::HttpResponse; [INFO] [stdout] | ~~~~~~~~ [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.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "7381136dcdad52887580ddc25b1ad98b6a505ca3e7a3cea9a6b8fcd516a84928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7381136dcdad52887580ddc25b1ad98b6a505ca3e7a3cea9a6b8fcd516a84928", kill_on_drop: false }` [INFO] [stdout] 7381136dcdad52887580ddc25b1ad98b6a505ca3e7a3cea9a6b8fcd516a84928