[INFO] fetching crate contraband_codegen 0.1.2... [INFO] testing contraband_codegen-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate contraband_codegen 0.1.2 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate contraband_codegen 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5b2f431d63336022c22b9fc0fadd346129c1014197b82f49b1e5598c6b5357f [INFO] running `Command { std: "docker" "start" "-a" "f5b2f431d63336022c22b9fc0fadd346129c1014197b82f49b1e5598c6b5357f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5b2f431d63336022c22b9fc0fadd346129c1014197b82f49b1e5598c6b5357f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b2f431d63336022c22b9fc0fadd346129c1014197b82f49b1e5598c6b5357f", kill_on_drop: false }` [INFO] [stdout] f5b2f431d63336022c22b9fc0fadd346129c1014197b82f49b1e5598c6b5357f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbf88c816a7d343d67ddd0be79abcd6a8dfa27ba2cf299319938e5e5d20bd35d [INFO] running `Command { std: "docker" "start" "-a" "cbf88c816a7d343d67ddd0be79abcd6a8dfa27ba2cf299319938e5e5d20bd35d", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling derive_more v0.99.20 [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 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 8.06s [INFO] running `Command { std: "docker" "inspect" "cbf88c816a7d343d67ddd0be79abcd6a8dfa27ba2cf299319938e5e5d20bd35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbf88c816a7d343d67ddd0be79abcd6a8dfa27ba2cf299319938e5e5d20bd35d", kill_on_drop: false }` [INFO] [stdout] cbf88c816a7d343d67ddd0be79abcd6a8dfa27ba2cf299319938e5e5d20bd35d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5903a19d5f1a09936963beec3100b6411015a39cf7f594af339aab044f773211 [INFO] running `Command { std: "docker" "start" "-a" "5903a19d5f1a09936963beec3100b6411015a39cf7f594af339aab044f773211", 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.92s [INFO] running `Command { std: "docker" "inspect" "5903a19d5f1a09936963beec3100b6411015a39cf7f594af339aab044f773211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5903a19d5f1a09936963beec3100b6411015a39cf7f594af339aab044f773211", kill_on_drop: false }` [INFO] [stdout] 5903a19d5f1a09936963beec3100b6411015a39cf7f594af339aab044f773211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 140e38954090e6a2d8933c7221d3a2a864e3e65be3ccd0da8597b27cf99b703e [INFO] running `Command { std: "docker" "start" "-a" "140e38954090e6a2d8933c7221d3a2a864e3e65be3ccd0da8597b27cf99b703e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/contraband_codegen-c6fc8da2e61c309c) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests contraband_codegen [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 184) - compile ... FAILED [INFO] [stdout] test src/lib.rs - controller (line 405) - compile ... FAILED [INFO] [stdout] test src/lib.rs - module (line 236) - compile ... FAILED [INFO] [stdout] test src/lib.rs - module (line 148) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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 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] ---- 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] [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.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "140e38954090e6a2d8933c7221d3a2a864e3e65be3ccd0da8597b27cf99b703e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "140e38954090e6a2d8933c7221d3a2a864e3e65be3ccd0da8597b27cf99b703e", kill_on_drop: false }` [INFO] [stdout] 140e38954090e6a2d8933c7221d3a2a864e3e65be3ccd0da8597b27cf99b703e