[INFO] fetching crate contraband_codegen 0.1.2... [INFO] testing contraband_codegen-0.1.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate contraband_codegen 0.1.2 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate contraband_codegen 0.1.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding actix-rt v1.1.1 (available: v2.11.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-macros v0.1.3 [INFO] [stderr] Downloaded actix-threadpool v0.3.3 [INFO] [stderr] Downloaded actix-rt v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc2a34ad78aaf20adda163abf1a18f92ba71fe5350de0e693b2a3ef2e0586e9a [INFO] running `Command { std: "docker" "start" "-a" "dc2a34ad78aaf20adda163abf1a18f92ba71fe5350de0e693b2a3ef2e0586e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc2a34ad78aaf20adda163abf1a18f92ba71fe5350de0e693b2a3ef2e0586e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc2a34ad78aaf20adda163abf1a18f92ba71fe5350de0e693b2a3ef2e0586e9a", kill_on_drop: false }` [INFO] [stdout] dc2a34ad78aaf20adda163abf1a18f92ba71fe5350de0e693b2a3ef2e0586e9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce4123a2fbf52d3dd033cdb31ad1a58f453386ca736c0de495968183db043afb [INFO] running `Command { std: "docker" "start" "-a" "ce4123a2fbf52d3dd033cdb31ad1a58f453386ca736c0de495968183db043afb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [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` profile [unoptimized + debuginfo] target(s) in 11.49s [INFO] running `Command { std: "docker" "inspect" "ce4123a2fbf52d3dd033cdb31ad1a58f453386ca736c0de495968183db043afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce4123a2fbf52d3dd033cdb31ad1a58f453386ca736c0de495968183db043afb", kill_on_drop: false }` [INFO] [stdout] ce4123a2fbf52d3dd033cdb31ad1a58f453386ca736c0de495968183db043afb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 692fa27f04c5dcea54e0c2e74ca3b688016192e9f838df7ddf33af9061a04fe7 [INFO] running `Command { std: "docker" "start" "-a" "692fa27f04c5dcea54e0c2e74ca3b688016192e9f838df7ddf33af9061a04fe7", kill_on_drop: false }` [INFO] [stderr] Compiling contraband_codegen v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "692fa27f04c5dcea54e0c2e74ca3b688016192e9f838df7ddf33af9061a04fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692fa27f04c5dcea54e0c2e74ca3b688016192e9f838df7ddf33af9061a04fe7", kill_on_drop: false }` [INFO] [stdout] 692fa27f04c5dcea54e0c2e74ca3b688016192e9f838df7ddf33af9061a04fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77cc2bffe511948ec5185fb00964ec3d62fd46873027699c98b5189db3978bb2 [INFO] running `Command { std: "docker" "start" "-a" "77cc2bffe511948ec5185fb00964ec3d62fd46873027699c98b5189db3978bb2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/contraband_codegen-6ffe9fea25d48e42) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests contraband_codegen [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 - controller (line 405) - compile ... FAILED [INFO] [stdout] test src/lib.rs - module (line 184) - compile ... FAILED [INFO] [stdout] test src/lib.rs - module (line 148) - 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 - controller (line 405) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `contraband` [INFO] [stdout] --> src/lib.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 4 | use contraband::core::ContrabandApp; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use actix_web::HttpResponse; [INFO] [stdout] 5 + use actix_rt::HttpResponse; [INFO] [stdout] | [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: aborting due to 4 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 unresolved module or unlinked crate `contraband` [INFO] [stdout] --> src/lib.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 2 | use contraband::core::ContrabandApp; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use actix_web::HttpResponse; [INFO] [stdout] 5 + use actix_rt::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `contraband` [INFO] [stdout] --> src/lib.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[contraband::main] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `contraband` [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 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[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 8 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 148) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `contraband` [INFO] [stdout] --> src/lib.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 2 | use contraband::core::ContrabandApp; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use actix_web::HttpResponse; [INFO] [stdout] 5 + use actix_rt::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `contraband` [INFO] [stdout] --> src/lib.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[contraband::main] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `contraband` [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[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 7 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 unresolved module or unlinked crate `contraband` [INFO] [stdout] --> src/lib.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 2 | use contraband::core::ContrabandApp; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `contraband` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `contraband`, use `cargo add contraband` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use actix_web::HttpResponse; [INFO] [stdout] 5 + use actix_rt::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `contraband` [INFO] [stdout] --> src/lib.rs:275:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[contraband::main] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `contraband` [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 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 find attribute `export` in this scope [INFO] [stdout] --> src/lib.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[export(HelloService)] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `expect` [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[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 10 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.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "77cc2bffe511948ec5185fb00964ec3d62fd46873027699c98b5189db3978bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77cc2bffe511948ec5185fb00964ec3d62fd46873027699c98b5189db3978bb2", kill_on_drop: false }` [INFO] [stdout] 77cc2bffe511948ec5185fb00964ec3d62fd46873027699c98b5189db3978bb2