[INFO] fetching crate axum_static_macro 1.0.8... [INFO] testing axum_static_macro-1.0.8 against 1.60.0 for beta-1.61-1 [INFO] extracting crate axum_static_macro 1.0.8 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate axum_static_macro 1.0.8 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate axum_static_macro 1.0.8 [INFO] finished tweaking crates.io crate axum_static_macro 1.0.8 [INFO] tweaked toml for crates.io crate axum_static_macro 1.0.8 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 26d481b72b40ae76051b1f715bcc0d48259b7410e995b6ba5edd182ebdc2c5e1 [INFO] running `Command { std: "docker" "start" "-a" "26d481b72b40ae76051b1f715bcc0d48259b7410e995b6ba5edd182ebdc2c5e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26d481b72b40ae76051b1f715bcc0d48259b7410e995b6ba5edd182ebdc2c5e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d481b72b40ae76051b1f715bcc0d48259b7410e995b6ba5edd182ebdc2c5e1", kill_on_drop: false }` [INFO] [stdout] 26d481b72b40ae76051b1f715bcc0d48259b7410e995b6ba5edd182ebdc2c5e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4e8b20fef7e47436dc81712b55fdc991ace2161453c44e2811dbe75b76ff93cc [INFO] running `Command { std: "docker" "start" "-a" "4e8b20fef7e47436dc81712b55fdc991ace2161453c44e2811dbe75b76ff93cc", kill_on_drop: false }` [INFO] [stderr] Compiling axum_static_macro v1.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "4e8b20fef7e47436dc81712b55fdc991ace2161453c44e2811dbe75b76ff93cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e8b20fef7e47436dc81712b55fdc991ace2161453c44e2811dbe75b76ff93cc", kill_on_drop: false }` [INFO] [stdout] 4e8b20fef7e47436dc81712b55fdc991ace2161453c44e2811dbe75b76ff93cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c9dcc0036b8c5cc6ed686cec44fd125a9aea314041a7ea9b642790a69dbe225e [INFO] running `Command { std: "docker" "start" "-a" "c9dcc0036b8c5cc6ed686cec44fd125a9aea314041a7ea9b642790a69dbe225e", kill_on_drop: false }` [INFO] [stderr] Compiling axum_static_macro v1.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "c9dcc0036b8c5cc6ed686cec44fd125a9aea314041a7ea9b642790a69dbe225e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9dcc0036b8c5cc6ed686cec44fd125a9aea314041a7ea9b642790a69dbe225e", kill_on_drop: false }` [INFO] [stdout] c9dcc0036b8c5cc6ed686cec44fd125a9aea314041a7ea9b642790a69dbe225e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a2f6407b06ba3ba2a2d3d092a239d09cc3d7eb13871f1618567c88f548f7e61e [INFO] running `Command { std: "docker" "start" "-a" "a2f6407b06ba3ba2a2d3d092a239d09cc3d7eb13871f1618567c88f548f7e61e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/axum_static_macro-731235a08b19a742) [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 axum_static_macro [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: expected one of `async`, `move`, `|`, or `||`, found `)` [INFO] [stdout] --> src/lib.rs:10:71 [INFO] [stdout] | [INFO] [stdout] 7 | let app = axum::Router::new().route("/", axum::routing::get(static)); [INFO] [stdout] | ^ expected one of `async`, `move`, `|`, or `||` [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `static` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | axum_static_macro::static_file!(static, "index.html", "text/html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `axum_static_macro::static_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `static` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 5 | axum_static_macro::static_file!(r#static, "index.html", "text/html"); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | axum_static_macro::static_file!(static, "index.html", "text/html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `axum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `axum_static_macro::static_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | axum_static_macro::static_file!(static, "index.html", "text/html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `axum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `axum_static_macro::static_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | axum_static_macro::static_file!(static, "index.html", "text/html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `axum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `axum_static_macro::static_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | axum_static_macro::static_file!(static, "index.html", "text/html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `axum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `axum_static_macro::static_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | axum_static_macro::static_file!(static, "index.html", "text/html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `axum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `axum_static_macro::static_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | axum_static_macro::static_file!(static, "index.html", "text/html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `axum_static_macro::static_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | axum_static_macro::static_file!(static, "index.html", "text/html"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `axum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `axum_static_macro::static_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 7 | let app = axum::Router::new().route("/", axum::routing::get(static)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | axum::Server::bind(&"0.0.0.0:3000".parse().unwrap()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `axum` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "a2f6407b06ba3ba2a2d3d092a239d09cc3d7eb13871f1618567c88f548f7e61e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f6407b06ba3ba2a2d3d092a239d09cc3d7eb13871f1618567c88f548f7e61e", kill_on_drop: false }` [INFO] [stdout] a2f6407b06ba3ba2a2d3d092a239d09cc3d7eb13871f1618567c88f548f7e61e