[INFO] fetching crate spring-macros 0.4.6... [INFO] testing spring-macros-0.4.6 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate spring-macros 0.4.6 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate spring-macros 0.4.6 [INFO] finished tweaking crates.io crate spring-macros 0.4.6 [INFO] tweaked toml for crates.io crate spring-macros 0.4.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spring-macros 0.4.6 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spring-macros 0.4.6 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.225 [INFO] [stderr] Downloaded serde_core v1.0.225 [INFO] [stderr] Downloaded serde_derive v1.0.225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2f596e1e4ba42cc47af5c7640be18a19d87f44bd5d329c26a02a8eeade38a3b [INFO] running `Command { std: "docker" "start" "-a" "d2f596e1e4ba42cc47af5c7640be18a19d87f44bd5d329c26a02a8eeade38a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2f596e1e4ba42cc47af5c7640be18a19d87f44bd5d329c26a02a8eeade38a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f596e1e4ba42cc47af5c7640be18a19d87f44bd5d329c26a02a8eeade38a3b", kill_on_drop: false }` [INFO] [stdout] d2f596e1e4ba42cc47af5c7640be18a19d87f44bd5d329c26a02a8eeade38a3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3448cb2764b289ff10c1c18cc3b6209746faeec67a3f9c26717902783f61156 [INFO] running `Command { std: "docker" "start" "-a" "d3448cb2764b289ff10c1c18cc3b6209746faeec67a3f9c26717902783f61156", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling spring-macros v0.4.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.12s [INFO] running `Command { std: "docker" "inspect" "d3448cb2764b289ff10c1c18cc3b6209746faeec67a3f9c26717902783f61156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3448cb2764b289ff10c1c18cc3b6209746faeec67a3f9c26717902783f61156", kill_on_drop: false }` [INFO] [stdout] d3448cb2764b289ff10c1c18cc3b6209746faeec67a3f9c26717902783f61156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22043649bd964718e03861d05bd0c5ab394859833c30382bbdb6ceb4ce094642 [INFO] running `Command { std: "docker" "start" "-a" "22043649bd964718e03861d05bd0c5ab394859833c30382bbdb6ceb4ce094642", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling spring-macros v0.4.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.87s [INFO] running `Command { std: "docker" "inspect" "22043649bd964718e03861d05bd0c5ab394859833c30382bbdb6ceb4ce094642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22043649bd964718e03861d05bd0c5ab394859833c30382bbdb6ceb4ce094642", kill_on_drop: false }` [INFO] [stdout] 22043649bd964718e03861d05bd0c5ab394859833c30382bbdb6ceb4ce094642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 01b9eed69ae4dd08be5023fdfd44b7018c31fb22f2934363b00d4293e07b2ef2 [INFO] running `Command { std: "docker" "start" "-a" "01b9eed69ae4dd08be5023fdfd44b7018c31fb22f2934363b00d4293e07b2ef2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spring_macros-275d2d649d7382bd) [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 spring_macros [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/lib.rs - fix_delay (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - fix_rate (line 217) ... FAILED [INFO] [stdout] test src/lib.rs - get (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - delete (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - cron (line 218) ... FAILED [INFO] [stdout] test src/lib.rs - nest (line 117) ... ok [INFO] [stdout] test src/lib.rs - cache (line 295) ... FAILED [INFO] [stdout] test src/lib.rs - nest (line 131) ... FAILED [INFO] [stdout] test src/lib.rs - post (line 115) ... FAILED [INFO] [stdout] test src/lib.rs - one_shot (line 215) ... FAILED [INFO] [stdout] test src/lib.rs - head (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - options (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - put (line 116) ... FAILED [INFO] [stdout] test src/lib.rs - patch (line 121) ... FAILED [INFO] [stdout] test src/lib.rs - route (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - routes (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - trace (line 120) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - fix_delay (line 216) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_job` in the list of imported crates [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[fix_delay(60)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `spring_job` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `fix_delay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spring_job` [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[fix_delay(60)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `spring_job` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `fix_delay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - fix_rate (line 217) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_job` in the list of imported crates [INFO] [stdout] --> src/lib.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[fix_rate(60)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `spring_job` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `fix_rate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spring_job` [INFO] [stdout] --> src/lib.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[fix_rate(60)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `spring_job` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `fix_rate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - get (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - delete (line 117) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[delete("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `delete` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - cron (line 218) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_job` in the list of imported crates [INFO] [stdout] --> src/lib.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[cron("1/10 * * * * *")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `spring_job` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spring_job` [INFO] [stdout] --> src/lib.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[cron("1/10 * * * * *")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `spring_job` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - cache (line 295) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_redis` [INFO] [stdout] --> src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[cache("user:{user_id}", expire = 600, condition = user_id % 2 == 0, unless = result.is_none())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spring_redis` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_redis`, use `cargo add spring_redis` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `cache` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring` [INFO] [stdout] --> src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[cache("user:{user_id}", expire = 600, condition = user_id % 2 == 0, unless = result.is_none())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spring` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring`, use `cargo add spring` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `cache` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spring_redis` [INFO] [stdout] --> src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[cache("user:{user_id}", expire = 600, condition = user_id % 2 == 0, unless = result.is_none())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `spring_redis` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_redis`, use `cargo add spring_redis` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `cache` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Serialize` in `serde` [INFO] [stdout] --> src/lib.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^ could not find `Serialize` in `serde` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.225/src/lib.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg(feature = "serde_derive")] [INFO] [stdout] | ------------------------ the item is gated behind the `serde_derive` feature [INFO] [stdout] 256 | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 257 | pub use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Deserialize` in `serde` [INFO] [stdout] --> src/lib.rs:299:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ could not find `Deserialize` in `serde` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.225/src/lib.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg(feature = "serde_derive")] [INFO] [stdout] | ------------------------ the item is gated behind the `serde_derive` feature [INFO] [stdout] 256 | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 257 | pub use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring` in the list of imported crates [INFO] [stdout] --> src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[cache("user:{user_id}", expire = 600, condition = user_id % 2 == 0, unless = result.is_none())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `spring` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `cache` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_user(user_id: u64) -> Result, MyError> { [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `User` [INFO] [stdout] --> src/lib.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `User` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] = note: required for `std::option::Option` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[cache("user:{user_id}", expire = 600, condition = user_id % 2 == 0, unless = result.is_none())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = note: this error originates in the attribute macro `cache` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[cache("user:{user_id}", expire = 600, condition = user_id % 2 == 0, unless = result.is_none())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `User` [INFO] [stdout] --> src/lib.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct User { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `User` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 129 others [INFO] [stdout] = note: required for `std::option::Option` to implement `Serialize` [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/ser.rs:2247:17 [INFO] [stdout] | [INFO] [stdout] 2245 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2246 | where [INFO] [stdout] 2247 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] = note: this error originates in the attribute macro `cache` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - nest (line 131) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 9 | #[get("/hello")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - post (line 115) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[post("/")] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `post` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - one_shot (line 215) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_job` in the list of imported crates [INFO] [stdout] --> src/lib.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[one_shot(60)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `spring_job` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `one_shot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spring_job` [INFO] [stdout] --> src/lib.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[one_shot(60)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `spring_job` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `one_shot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - head (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[head("/")] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `head` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - options (line 119) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[options("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `options` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - put (line 116) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[put("/")] [INFO] [stdout] | ^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `put` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - patch (line 121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[patch("/")] [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `patch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - route (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[route("/test", method = "GET", method = "HEAD")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `route` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - routes (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[routes] [INFO] [stdout] | ^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - trace (line 120) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] --> src/lib.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spring_web::axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `spring_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `spring_web`, use `cargo add spring_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `spring_web` in the list of imported crates [INFO] [stdout] --> src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[trace("/")] [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `spring_web` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - cache (line 295) [INFO] [stdout] src/lib.rs - cron (line 218) [INFO] [stdout] src/lib.rs - delete (line 117) [INFO] [stdout] src/lib.rs - fix_delay (line 216) [INFO] [stdout] src/lib.rs - fix_rate (line 217) [INFO] [stdout] src/lib.rs - get (line 114) [INFO] [stdout] src/lib.rs - head (line 118) [INFO] [stdout] src/lib.rs - nest (line 131) [INFO] [stdout] src/lib.rs - one_shot (line 215) [INFO] [stdout] src/lib.rs - options (line 119) [INFO] [stdout] src/lib.rs - patch (line 121) [INFO] [stdout] src/lib.rs - post (line 115) [INFO] [stdout] src/lib.rs - put (line 116) [INFO] [stdout] src/lib.rs - route (line 31) [INFO] [stdout] src/lib.rs - routes (line 61) [INFO] [stdout] src/lib.rs - trace (line 120) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.30s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "01b9eed69ae4dd08be5023fdfd44b7018c31fb22f2934363b00d4293e07b2ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01b9eed69ae4dd08be5023fdfd44b7018c31fb22f2934363b00d4293e07b2ef2", kill_on_drop: false }` [INFO] [stdout] 01b9eed69ae4dd08be5023fdfd44b7018c31fb22f2934363b00d4293e07b2ef2