[INFO] fetching crate axum_static_macro 1.0.8... [INFO] testing axum_static_macro-1.0.8 against beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+beta-2022-04-10" "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] fdeb7d3a620d2fd1c7995d31283c5ad1b347a34569edb1b306a27d7d8cde0d86 [INFO] running `Command { std: "docker" "start" "-a" "fdeb7d3a620d2fd1c7995d31283c5ad1b347a34569edb1b306a27d7d8cde0d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdeb7d3a620d2fd1c7995d31283c5ad1b347a34569edb1b306a27d7d8cde0d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdeb7d3a620d2fd1c7995d31283c5ad1b347a34569edb1b306a27d7d8cde0d86", kill_on_drop: false }` [INFO] [stdout] fdeb7d3a620d2fd1c7995d31283c5ad1b347a34569edb1b306a27d7d8cde0d86 [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" "+beta-2022-04-10" "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] 44be3620b95c96f0ea8349b34cfbcdb1f6285464153678a6aa59414daaff1a6b [INFO] running `Command { std: "docker" "start" "-a" "44be3620b95c96f0ea8349b34cfbcdb1f6285464153678a6aa59414daaff1a6b", 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.21s [INFO] running `Command { std: "docker" "inspect" "44be3620b95c96f0ea8349b34cfbcdb1f6285464153678a6aa59414daaff1a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44be3620b95c96f0ea8349b34cfbcdb1f6285464153678a6aa59414daaff1a6b", kill_on_drop: false }` [INFO] [stdout] 44be3620b95c96f0ea8349b34cfbcdb1f6285464153678a6aa59414daaff1a6b [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" "+beta-2022-04-10" "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] 79876ce2f2edf2b2c08e8dc269ab05e1a7de3a66bc33f78b392b49bbf54318e1 [INFO] running `Command { std: "docker" "start" "-a" "79876ce2f2edf2b2c08e8dc269ab05e1a7de3a66bc33f78b392b49bbf54318e1", 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.83s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_static_macro-551a9dc90ec5779a) [INFO] running `Command { std: "docker" "inspect" "79876ce2f2edf2b2c08e8dc269ab05e1a7de3a66bc33f78b392b49bbf54318e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79876ce2f2edf2b2c08e8dc269ab05e1a7de3a66bc33f78b392b49bbf54318e1", kill_on_drop: false }` [INFO] [stdout] 79876ce2f2edf2b2c08e8dc269ab05e1a7de3a66bc33f78b392b49bbf54318e1 [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" "+beta-2022-04-10" "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] 70d62086b912098226c5e6828e414aba310270b189f05e7c721fc53d837f49a2 [INFO] running `Command { std: "docker" "start" "-a" "70d62086b912098226c5e6828e414aba310270b189f05e7c721fc53d837f49a2", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_static_macro-551a9dc90ec5779a) [INFO] [stderr] Doc-tests axum_static_macro [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] [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" "70d62086b912098226c5e6828e414aba310270b189f05e7c721fc53d837f49a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d62086b912098226c5e6828e414aba310270b189f05e7c721fc53d837f49a2", kill_on_drop: false }` [INFO] [stdout] 70d62086b912098226c5e6828e414aba310270b189f05e7c721fc53d837f49a2