[INFO] fetching crate roa-core 0.5.1... [INFO] checking roa-core-0.5.1 against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] extracting crate roa-core 0.5.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate roa-core 0.5.1 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate roa-core 0.5.1 [INFO] finished tweaking crates.io crate roa-core 0.5.1 [INFO] tweaked toml for crates.io crate roa-core 0.5.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "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" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a27a2e2a3c705deb5ed225d5cedc043fbf8d18a3dd9527c0a9a3b4b1af1d06b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1a27a2e2a3c705deb5ed225d5cedc043fbf8d18a3dd9527c0a9a3b4b1af1d06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a27a2e2a3c705deb5ed225d5cedc043fbf8d18a3dd9527c0a9a3b4b1af1d06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a27a2e2a3c705deb5ed225d5cedc043fbf8d18a3dd9527c0a9a3b4b1af1d06b", kill_on_drop: false }` [INFO] [stdout] 1a27a2e2a3c705deb5ed225d5cedc043fbf8d18a3dd9527c0a9a3b4b1af1d06b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f10cab3d19c179e2f1788ab7a1cda01c31cad64f5a9e087db5fc68eb3323614 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0f10cab3d19c179e2f1788ab7a1cda01c31cad64f5a9e087db5fc68eb3323614", kill_on_drop: false }` [INFO] [stderr] Checking roa-core v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | $crate::status!($status_code, ""); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | .ok_or_else(|| status!(StatusCode::BAD_REQUEST))?; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | $crate::status!($status_code, $message, true); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | .ok_or_else(|| status!(StatusCode::BAD_REQUEST))?; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | $crate::status!($status_code, $message, true); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | .map_err(|err| status!(StatusCode::BAD_REQUEST, err)) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:70:72 [INFO] [stdout] | [INFO] [stdout] 70 | return core::result::Result::Err($crate::status!($status_code)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/middleware.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | throw!(StatusCode::PERMANENT_REDIRECT) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `throw` [INFO] [stdout] = note: this warning originates in the macro `throw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | $crate::status!($status_code, ""); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/middleware.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | throw!(StatusCode::PERMANENT_REDIRECT) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `status` [INFO] [stdout] = note: this warning originates in the macro `$crate::status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | $crate::status!($status_code, $message, true); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/middleware.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | throw!(StatusCode::PERMANENT_REDIRECT) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `status` [INFO] [stdout] = note: this warning originates in the macro `$crate::status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | $crate::status!($status_code, ""); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | .ok_or_else(|| status!(StatusCode::BAD_REQUEST))?; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | $crate::status!($status_code, $message, true); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | .ok_or_else(|| status!(StatusCode::BAD_REQUEST))?; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | $crate::status!($status_code, $message, true); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | .map_err(|err| status!(StatusCode::BAD_REQUEST, err)) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:70:72 [INFO] [stdout] | [INFO] [stdout] 70 | return core::result::Result::Err($crate::status!($status_code)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/middleware.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | throw!(StatusCode::PERMANENT_REDIRECT) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `throw` [INFO] [stdout] = note: this warning originates in the macro `throw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | $crate::status!($status_code, ""); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/middleware.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | throw!(StatusCode::PERMANENT_REDIRECT) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `status` [INFO] [stdout] = note: this warning originates in the macro `$crate::status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | $crate::status!($status_code, $message, true); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/middleware.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | throw!(StatusCode::PERMANENT_REDIRECT) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `status` [INFO] [stdout] = note: this warning originates in the macro `$crate::status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | $crate::status!($status_code, ""); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/middleware.rs:327:34 [INFO] [stdout] | [INFO] [stdout] 327 | let app = App::new().end(status!(StatusCode::BAD_REQUEST)); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/err.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | $crate::status!($status_code, $message, true); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/middleware.rs:327:34 [INFO] [stdout] | [INFO] [stdout] 327 | let app = App::new().end(status!(StatusCode::BAD_REQUEST)); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `$crate::status` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `App` in the current scope [INFO] [stdout] --> src/middleware.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | let app = App::new().end(status!(StatusCode::BAD_REQUEST)); [INFO] [stdout] | ^^^ function or associated item not found in `App<_, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/app.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct App { [INFO] [stdout] | -------------------- function or associated item `new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `App` in the current scope [INFO] [stdout] --> src/middleware.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | let app = App::new().end(HELLO.to_owned()); [INFO] [stdout] | ^^^ function or associated item not found in `App<_, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/app.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct App { [INFO] [stdout] | -------------------- function or associated item `new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `App` in the current scope [INFO] [stdout] --> src/middleware.rs:350:24 [INFO] [stdout] | [INFO] [stdout] 350 | let app = App::new().end(HELLO); [INFO] [stdout] | ^^^ function or associated item not found in `App<_, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/app.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct App { [INFO] [stdout] | -------------------- function or associated item `new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `App` in the current scope [INFO] [stdout] --> src/middleware.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | let app = App::new().end("/target".parse::().unwrap()); [INFO] [stdout] | ^^^ function or associated item not found in `App<_, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/app.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct App { [INFO] [stdout] | -------------------- function or associated item `new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/middleware.rs:317:19 [INFO] [stdout] | [INFO] [stdout] 317 | use futures::{AsyncReadExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> src/middleware.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | use futures::{AsyncReadExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roa-core` due to 5 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f10cab3d19c179e2f1788ab7a1cda01c31cad64f5a9e087db5fc68eb3323614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f10cab3d19c179e2f1788ab7a1cda01c31cad64f5a9e087db5fc68eb3323614", kill_on_drop: false }` [INFO] [stdout] 0f10cab3d19c179e2f1788ab7a1cda01c31cad64f5a9e087db5fc68eb3323614