[INFO] cloning repository https://github.com/tomsik68/axum-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomsik68/axum-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomsik68%2Faxum-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomsik68%2Faxum-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76dae3e15ea1e78aeca379532c271a7136893f2e [INFO] checking tomsik68/axum-demo against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomsik68%2Faxum-demo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tomsik68/axum-demo [INFO] finished tweaking git repo https://github.com/tomsik68/axum-demo [INFO] tweaked toml for git repo https://github.com/tomsik68/axum-demo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tomsik68/axum-demo on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tomsik68/axum-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dummy v0.4.1 [INFO] [stderr] Downloaded zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Downloaded tonic-build v0.6.2 [INFO] [stderr] Downloaded shellexpand v2.1.0 [INFO] [stderr] Downloaded axum-core v0.2.4 [INFO] [stderr] Downloaded base64ct v1.0.1 [INFO] [stderr] Downloaded uuid v1.1.1 [INFO] [stderr] Downloaded utoipa v1.0.2 [INFO] [stderr] Downloaded password-hash v0.3.2 [INFO] [stderr] Downloaded tonic v0.6.2 [INFO] [stderr] Downloaded axum v0.5.6 [INFO] [stderr] Downloaded opentelemetry-otlp v0.10.0 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded tower-http v0.3.3 [INFO] [stderr] Downloaded degeneric-macros v0.4.0 [INFO] [stderr] Downloaded prost-types v0.9.0 [INFO] [stderr] Downloaded typed-builder v0.10.0 [INFO] [stderr] Downloaded bzip2 v0.4.3 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded fake v2.4.3 [INFO] [stderr] Downloaded pbkdf2 v0.10.1 [INFO] [stderr] Downloaded zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Downloaded zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Downloaded tokio v1.19.0 [INFO] [stderr] Downloaded utoipa-swagger-ui v1.0.0 [INFO] [stderr] Downloaded prost-build v0.9.0 [INFO] [stderr] Downloaded utoipa-gen v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b95dd2a9ab81deb6139f8fac0c6ba42744993efe21ee742cd40c5502144dc8c1 [INFO] running `Command { std: "docker" "start" "-a" "b95dd2a9ab81deb6139f8fac0c6ba42744993efe21ee742cd40c5502144dc8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b95dd2a9ab81deb6139f8fac0c6ba42744993efe21ee742cd40c5502144dc8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b95dd2a9ab81deb6139f8fac0c6ba42744993efe21ee742cd40c5502144dc8c1", kill_on_drop: false }` [INFO] [stdout] b95dd2a9ab81deb6139f8fac0c6ba42744993efe21ee742cd40c5502144dc8c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7662dba47410031a9f0f7209d1590b5e172605a7df8556c5e3f8f4ef0dbd2e50 [INFO] running `Command { std: "docker" "start" "-a" "7662dba47410031a9f0f7209d1590b5e172605a7df8556c5e3f8f4ef0dbd2e50", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling pbkdf2 v0.10.1 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rust-embed-utils v7.2.0 [INFO] [stderr] Compiling shellexpand v2.1.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking uuid v1.1.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Checking tokio v1.19.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling utoipa-gen v1.0.2 [INFO] [stderr] Compiling dummy v0.4.1 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Checking serde v1.0.137 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking opentelemetry v0.17.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.10.0 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking fake v2.4.3 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking todo-domain v0.1.0 (/opt/rustwide/workdir/crates/todo-domain) [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Checking tower-http v0.3.3 [INFO] [stderr] Checking axum-core v0.2.4 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking rust-embed v6.4.0 [INFO] [stderr] Compiling degeneric-macros v0.4.0 [INFO] [stderr] Compiling trait-set v0.3.0 [INFO] [stderr] Checking tracing-opentelemetry v0.17.2 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking utoipa v1.0.2 [INFO] [stderr] Checking todo-http-schemas v0.1.0 (/opt/rustwide/workdir/crates/todo-http-schemas) [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.6 [INFO] [stderr] Checking tonic v0.6.2 [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.2 [INFO] [stderr] Compiling utoipa-swagger-ui v1.0.0 [INFO] [stderr] Checking todo-restful v0.1.0 (/opt/rustwide/workdir/services/todo-restful) [INFO] [stdout] warning: function `create_production_container` is never used [INFO] [stdout] --> services/todo-restful/src/ioc.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn create_production_container() -> impl ThreadSafeContainer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UuidRequestId` is never constructed [INFO] [stdout] --> services/todo-restful/src/observability.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct UuidRequestId; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_tracing` is never used [INFO] [stdout] --> services/todo-restful/src/observability.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn init_tracing() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomMakeSpan` is never constructed [INFO] [stdout] --> services/todo-restful/src/observability.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct CustomMakeSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_observable` is never used [INFO] [stdout] --> services/todo-restful/src/observability.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn make_observable(app: Router) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_production_container` is never used [INFO] [stdout] --> services/todo-restful/src/ioc.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn create_production_container() -> impl ThreadSafeContainer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UuidRequestId` is never constructed [INFO] [stdout] --> services/todo-restful/src/observability.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct UuidRequestId; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_tracing` is never used [INFO] [stdout] --> services/todo-restful/src/observability.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn init_tracing() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomMakeSpan` is never constructed [INFO] [stdout] --> services/todo-restful/src/observability.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct CustomMakeSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_observable` is never used [INFO] [stdout] --> services/todo-restful/src/observability.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn make_observable(app: Router) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum_demo::api::RequestTodo; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_demo::api::ResponseTodo; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum_demo::app::create_app_with_spec; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum_demo::ioc::Container; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum_demo::ioc::TodoFact; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum_demo::ioc::TodoFactoryImpl; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use axum_demo::todo_service::Todo; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use axum_demo::todo_service::TodoService; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fake` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use fake::Fake; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fake` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fake`, use `cargo add fake` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fake` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use fake::Faker; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `fake` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fake`, use `cargo add fake` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::body::HttpBody` [INFO] [stdout] --> services/todo-restful/tests/todo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::body::HttpBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/health.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum_demo::app::create_app_with_spec; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/health.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_demo::ioc::Container; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] --> services/todo-restful/tests/health.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum_demo::ioc::TodoFactoryImpl; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `axum_demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_demo`, use `cargo add axum_demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> services/todo-restful/tests/todo.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 26 | | .oneshot( [INFO] [stdout] 27 | | Request::builder() [INFO] [stdout] 28 | | .uri("/todos") [INFO] [stdout] ... | [INFO] [stdout] 34 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> services/todo-restful/tests/todo.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let b = hyper::body::to_bytes(response.into_body()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> services/todo-restful/tests/todo.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / todo_factory_impl [INFO] [stdout] 50 | | .create() [INFO] [stdout] 51 | | .add_todo("test".into()) [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> services/todo-restful/tests/todo.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 58 | | .oneshot( [INFO] [stdout] 59 | | Request::builder() [INFO] [stdout] 60 | | .uri("/todos") [INFO] [stdout] ... | [INFO] [stdout] 66 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> services/todo-restful/tests/todo.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let b = hyper::body::to_bytes(response.into_body()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> services/todo-restful/tests/health.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 17 | | .oneshot( [INFO] [stdout] 18 | | Request::builder() [INFO] [stdout] 19 | | .uri("/health") [INFO] [stdout] ... | [INFO] [stdout] 23 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> services/todo-restful/tests/health.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let body = hyper::body::to_bytes(response.into_body()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-restful` (test "todo") due to 15 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `todo-restful` (test "health") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "7662dba47410031a9f0f7209d1590b5e172605a7df8556c5e3f8f4ef0dbd2e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7662dba47410031a9f0f7209d1590b5e172605a7df8556c5e3f8f4ef0dbd2e50", kill_on_drop: false }` [INFO] [stdout] 7662dba47410031a9f0f7209d1590b5e172605a7df8556c5e3f8f4ef0dbd2e50