[INFO] fetching crate tower-embed 0.5.0... [INFO] testing tower-embed-0.5.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate tower-embed 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tower-embed 0.5.0 [INFO] finished tweaking crates.io crate tower-embed 0.5.0 [INFO] tweaked toml for crates.io crate tower-embed 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-embed 0.5.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tower-embed 0.5.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c33d1ade277e1d393dad6f66ffadc26bd51e42ae9b15e4dcf0bf1c33b908c7c9 [INFO] running `Command { std: "docker" "start" "-a" "c33d1ade277e1d393dad6f66ffadc26bd51e42ae9b15e4dcf0bf1c33b908c7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c33d1ade277e1d393dad6f66ffadc26bd51e42ae9b15e4dcf0bf1c33b908c7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c33d1ade277e1d393dad6f66ffadc26bd51e42ae9b15e4dcf0bf1c33b908c7c9", kill_on_drop: false }` [INFO] [stdout] c33d1ade277e1d393dad6f66ffadc26bd51e42ae9b15e4dcf0bf1c33b908c7c9 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8bcfa5d6eea27117214b4876ae6cf83c9fb8321ffda4ed24ce0b539f1f6f31 [INFO] running `Command { std: "docker" "start" "-a" "fb8bcfa5d6eea27117214b4876ae6cf83c9fb8321ffda4ed24ce0b539f1f6f31", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling rapidhash v4.2.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower-embed-core v0.5.0 [INFO] [stderr] Compiling tower-embed-impl v0.5.0 [INFO] [stderr] Compiling tower-embed v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.64s [INFO] running `Command { std: "docker" "inspect" "fb8bcfa5d6eea27117214b4876ae6cf83c9fb8321ffda4ed24ce0b539f1f6f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8bcfa5d6eea27117214b4876ae6cf83c9fb8321ffda4ed24ce0b539f1f6f31", kill_on_drop: false }` [INFO] [stdout] fb8bcfa5d6eea27117214b4876ae6cf83c9fb8321ffda4ed24ce0b539f1f6f31 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70d3d97013a2fa169c8ae40d25da5c52f2af339a5361133ea1ad988ed4979242 [INFO] running `Command { std: "docker" "start" "-a" "70d3d97013a2fa169c8ae40d25da5c52f2af339a5361133ea1ad988ed4979242", kill_on_drop: false }` [INFO] [stderr] Compiling tower-embed v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "70d3d97013a2fa169c8ae40d25da5c52f2af339a5361133ea1ad988ed4979242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d3d97013a2fa169c8ae40d25da5c52f2af339a5361133ea1ad988ed4979242", kill_on_drop: false }` [INFO] [stdout] 70d3d97013a2fa169c8ae40d25da5c52f2af339a5361133ea1ad988ed4979242 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 116cd82b761ac0225ce7f8b7465060f175ede1d5b840a13ed9873e6c57dd1a06 [INFO] running `Command { std: "docker" "start" "-a" "116cd82b761ac0225ce7f8b7465060f175ede1d5b840a13ed9873e6c57dd1a06", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tower_embed-78687de0465cca1c) [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 tower_embed [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 23) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use axum::Router; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/lib.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macro `Embed` accepts the similarly named `embed` attribute [INFO] [stdout] | [INFO] [stdout] 28 - #[derive(Embed)] [INFO] [stdout] 28 + #[derive(embed)] [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 25 + use tower_embed::Embed; [INFO] [stdout] | [INFO] [stdout] 25 + use tower_embed_impl::Embed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `embed` in this scope [INFO] [stdout] --> src/lib.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[embed(folder = "assets")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `embed` is an attribute that can be used by the derive macro `Embed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Embed)] [INFO] [stdout] 31 | struct Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | axum::serve::serve(listener, router).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/lib.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let listener = tokio::net::TcpListener::bind("127.0.0.1:8080") [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 25 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] help: if you import `TcpListener`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 37 - let listener = tokio::net::TcpListener::bind("127.0.0.1:8080") [INFO] [stdout] 37 + let listener = TcpListener::bind("127.0.0.1:8080") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `ServeEmbed`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 30 | struct Assets; [INFO] [stdout] | ------------- doesn't satisfy `Assets: Embed` [INFO] [stdout] ... [INFO] [stdout] 34 | let assets = ServeEmbed::::new().with_not_found(Assets::not_found_page("404.html")); [INFO] [stdout] | ^^^ function or associated item cannot be called on `ServeEmbed` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Assets: Embed` [INFO] [stdout] note: the trait `Embed` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-embed-core-0.5.0/src/service.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Embed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `not_found_page` exists for struct `Assets`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:34:69 [INFO] [stdout] | [INFO] [stdout] 30 | struct Assets; [INFO] [stdout] | ------------- function or associated item `not_found_page` not found for this struct because it doesn't satisfy `Assets: EmbedExt` or `Assets: Embed` [INFO] [stdout] ... [INFO] [stdout] 34 | let assets = ServeEmbed::::new().with_not_found(Assets::not_found_page("404.html")); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item cannot be called on `Assets` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Assets: Embed` [INFO] [stdout] which is required by `Assets: EmbedExt` [INFO] [stdout] `&Assets: Embed` [INFO] [stdout] which is required by `&Assets: EmbedExt` [INFO] [stdout] `&mut Assets: Embed` [INFO] [stdout] which is required by `&mut Assets: EmbedExt` [INFO] [stdout] note: the trait `Embed` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-embed-core-0.5.0/src/service.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Embed { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `not_found_page`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `EmbedExt` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 23) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.23s; merged doctests compilation took 0.12s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "116cd82b761ac0225ce7f8b7465060f175ede1d5b840a13ed9873e6c57dd1a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "116cd82b761ac0225ce7f8b7465060f175ede1d5b840a13ed9873e6c57dd1a06", kill_on_drop: false }` [INFO] [stdout] 116cd82b761ac0225ce7f8b7465060f175ede1d5b840a13ed9873e6c57dd1a06