[INFO] fetching crate afire 3.0.0-alpha.3... [INFO] checking afire-3.0.0-alpha.3 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate afire 3.0.0-alpha.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate afire 3.0.0-alpha.3 [INFO] finished tweaking crates.io crate afire 3.0.0-alpha.3 [INFO] tweaked toml for crates.io crate afire 3.0.0-alpha.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate afire 3.0.0-alpha.3 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate afire 3.0.0-alpha.3 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e444276518067aeadf3d39b0739960f49477fad2712c757f3666f9c8d657cdc8 [INFO] running `Command { std: "docker" "start" "-a" "e444276518067aeadf3d39b0739960f49477fad2712c757f3666f9c8d657cdc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e444276518067aeadf3d39b0739960f49477fad2712c757f3666f9c8d657cdc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e444276518067aeadf3d39b0739960f49477fad2712c757f3666f9c8d657cdc8", kill_on_drop: false }` [INFO] [stdout] e444276518067aeadf3d39b0739960f49477fad2712c757f3666f9c8d657cdc8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df2091430550235f3d5bf853cbd6ed9aa49f2d4596eece19fa6de04921e86423 [INFO] running `Command { std: "docker" "start" "-a" "df2091430550235f3d5bf853cbd6ed9aa49f2d4596eece19fa6de04921e86423", kill_on_drop: false }` [INFO] [stderr] Checking afire v3.0.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `take` is never used [INFO] [stdout] --> lib/response.rs:351:19 [INFO] [stdout] | [INFO] [stdout] 350 | impl ResponseBody { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 351 | pub(crate) fn take(&mut self) -> ResponseBody { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/internal/sync.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn force_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | fn force_lock(&self) -> MutexGuard<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/internal/sync.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn force_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn force_lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/trace.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn emoji(emoji: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn emoji(emoji: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/context.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_response(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_response(&self) -> MutexGuard<'_, Response> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/proto/http/header/mod.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn params(&self) -> HeaderParams { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn params(&self) -> HeaderParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/proto/http/multipart.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get(&self, name: impl AsRef) -> Option<&MultipartEntry> { [INFO] [stdout] | ^^^^^ --------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get(&self, name: impl AsRef) -> Option<&MultipartEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/proto/http/multipart.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_mut(&'a mut self, name: impl AsRef) -> Option<&mut MultipartEntry> { [INFO] [stdout] | ^^ ------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_mut(&'a mut self, name: impl AsRef) -> Option<&'a mut MultipartEntry<'a>> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `afire::extensions` [INFO] [stdout] --> examples/tmp.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | extensions::{ [INFO] [stdout] | ^^^^^^^^^^ could not find `extensions` in `afire` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/lib/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "extensions")] [INFO] [stdout] | ---------------------- the item is gated behind the `extensions` feature [INFO] [stdout] 70 | pub mod extensions; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `afire` (example "tmp") due to 5 previous errors [INFO] [stdout] error[E0599]: no method named `get` found for struct `afire::Server` in the current scope [INFO] [stdout] --> examples/tmp.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | server.get("/**", |ctx| { [INFO] [stdout] | -------^^^ method not found in `afire::Server` [INFO] [stdout] | [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 41 | server.default_headers.get("/**", |ctx| { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 41 | server.middleware.get("/**", |ctx| { [INFO] [stdout] | +++++++++++ [INFO] [stdout] 41 | server.routes.get("/**", |ctx| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `get` found for struct `afire::Server` in the current scope [INFO] [stdout] --> examples/tmp.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | server.get("/{}/{}/{}", |ctx| { [INFO] [stdout] | -------^^^ method not found in `afire::Server` [INFO] [stdout] | [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 48 | server.default_headers.get("/{}/{}/{}", |ctx| { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 48 | server.middleware.get("/{}/{}/{}", |ctx| { [INFO] [stdout] | +++++++++++ [INFO] [stdout] 48 | server.routes.get("/{}/{}/{}", |ctx| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `afire::Server` in the current scope [INFO] [stdout] --> examples/tmp.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | server.get("/yt/{id}", |ctx| { [INFO] [stdout] | -------^^^ method not found in `afire::Server` [INFO] [stdout] | [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 56 | server.default_headers.get("/yt/{id}", |ctx| { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] 56 | server.middleware.get("/yt/{id}", |ctx| { [INFO] [stdout] | +++++++++++ [INFO] [stdout] 56 | server.routes.get("/yt/{id}", |ctx| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sync_route` found for struct `afire::Server` in the current scope [INFO] [stdout] --> examples/tmp.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | server.sync_route(Method::GET, "/sync-test", |_ctx| { [INFO] [stdout] | -------^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `route` with a similar name [INFO] [stdout] | [INFO] [stdout] 323 - server.sync_route(Method::GET, "/sync-test", |_ctx| { [INFO] [stdout] 323 + server.route(Method::GET, "/sync-test", |_ctx| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: method `take` is never used [INFO] [stdout] --> lib/response.rs:351:19 [INFO] [stdout] | [INFO] [stdout] 350 | impl ResponseBody { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 351 | pub(crate) fn take(&mut self) -> ResponseBody { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/internal/sync.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn force_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | fn force_lock(&self) -> MutexGuard<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/internal/sync.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn force_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn force_lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/trace.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn emoji(emoji: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) fn emoji(emoji: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/context.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_response(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_response(&self) -> MutexGuard<'_, Response> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/proto/http/header/mod.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn params(&self) -> HeaderParams { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn params(&self) -> HeaderParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/proto/http/multipart.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get(&self, name: impl AsRef) -> Option<&MultipartEntry> { [INFO] [stdout] | ^^^^^ --------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get(&self, name: impl AsRef) -> Option<&MultipartEntry<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/proto/http/multipart.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_mut(&'a mut self, name: impl AsRef) -> Option<&mut MultipartEntry> { [INFO] [stdout] | ^^ ------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_mut(&'a mut self, name: impl AsRef) -> Option<&'a mut MultipartEntry<'a>> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "df2091430550235f3d5bf853cbd6ed9aa49f2d4596eece19fa6de04921e86423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df2091430550235f3d5bf853cbd6ed9aa49f2d4596eece19fa6de04921e86423", kill_on_drop: false }` [INFO] [stdout] df2091430550235f3d5bf853cbd6ed9aa49f2d4596eece19fa6de04921e86423