[INFO] fetching crate thruster 1.3.13... [INFO] checking thruster-1.3.13 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate thruster 1.3.13 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate thruster 1.3.13 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate thruster 1.3.13 [INFO] tweaked toml for crates.io crate thruster 1.3.13 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate thruster 1.3.13 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate thruster 1.3.13 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3c702c6a988f10ee9a997647e5c94058464a8eee7415c38ce9659d0fd2dc083 [INFO] running `Command { std: "docker" "start" "-a" "d3c702c6a988f10ee9a997647e5c94058464a8eee7415c38ce9659d0fd2dc083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3c702c6a988f10ee9a997647e5c94058464a8eee7415c38ce9659d0fd2dc083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3c702c6a988f10ee9a997647e5c94058464a8eee7415c38ce9659d0fd2dc083", kill_on_drop: false }` [INFO] [stdout] d3c702c6a988f10ee9a997647e5c94058464a8eee7415c38ce9659d0fd2dc083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b89d36d11933809f16366b04475a0447536b0d04461e21f3634f677207faec40 [INFO] running `Command { std: "docker" "start" "-a" "b89d36d11933809f16366b04475a0447536b0d04461e21f3634f677207faec40", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling syn v2.0.33 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling rust-format v0.3.4 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking templatify v0.2.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling thruster-proc v1.3.13 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking frank_jwt v3.1.3 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking thruster v1.3.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `httparse::Header` [INFO] [stdout] --> src/app/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use httparse::Header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/core/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `profiling` [INFO] [stdout] --> src/middleware/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "profiling")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-rt`, `actix-service`, `actix-web`, `actix_server`, `dashmap`, `default`, `file`, `hyper`, `hyper_server`, `hyperlocal`, `pki-types`, `rustls-pemfile`, `thruster-jab`, `tls`, `tokio-rustls`, and `unix_hyper_server` [INFO] [stdout] = help: consider adding `profiling` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Middleware` is never used [INFO] [stdout] --> src/app/thruster_app.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Middleware: [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chainable_functions` [INFO] [stdout] --> examples/chainable_functions.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | chainable_functions::chainable_functions!(A, B, C); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `chainable_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> examples/chainable_functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thruster` (example "chainable_functions") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `httparse::Header` [INFO] [stdout] --> src/app/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use httparse::Header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/core/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `profiling` [INFO] [stdout] --> src/middleware/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "profiling")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix-rt`, `actix-service`, `actix-web`, `actix_server`, `dashmap`, `default`, `file`, `hyper`, `hyper_server`, `hyperlocal`, `pki-types`, `rustls-pemfile`, `thruster-jab`, `tls`, `tokio-rustls`, and `unix_hyper_server` [INFO] [stdout] = help: consider adding `profiling` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `BasicContext` [INFO] [stdout] --> benches/app.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | app.get("/test/hello", m!(BasicContext, [test_fn_1])); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/context/basic_context.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BasicContext { [INFO] [stdout] | ----------------------- `BasicContext` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `BasicContext` [INFO] [stdout] --> benches/app.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | app.get("/test/hello", m!(BasicContext, [test_fn_1])); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/context/basic_context.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BasicContext { [INFO] [stdout] | ----------------------- `BasicContext` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `BasicContext` [INFO] [stdout] --> benches/app.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | m!(BasicContext, [test_params_1]), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/context/basic_context.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BasicContext { [INFO] [stdout] | ----------------------- `BasicContext` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `BasicContext` [INFO] [stdout] --> benches/app.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | app.use_middleware("/", m!(BasicContext, [query_params])); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/context/basic_context.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BasicContext { [INFO] [stdout] | ----------------------- `BasicContext` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `BasicContext` [INFO] [stdout] --> benches/app.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | m!(BasicContext, [test_query_params_1]), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/context/basic_context.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BasicContext { [INFO] [stdout] | ----------------------- `BasicContext` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FileNotFound` is never constructed [INFO] [stdout] --> examples/error_handling.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | FileNotFound { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thruster::middleware::query_params::query_params` [INFO] [stdout] --> benches/app.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thruster::middleware::query_params::query_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `thruster::App::::use_middleware`: `use_middleware` is deprecated. Please migrate to use `middleware` in the future. [INFO] [stdout] --> benches/app.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | app.use_middleware("/", m!(BasicContext, [query_params])); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thruster` (bench "app") due to 5 previous errors; 2 warnings emitted [INFO] [stdout] warning: trait `Middleware` is never used [INFO] [stdout] --> src/app/thruster_app.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Middleware: [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b89d36d11933809f16366b04475a0447536b0d04461e21f3634f677207faec40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89d36d11933809f16366b04475a0447536b0d04461e21f3634f677207faec40", kill_on_drop: false }` [INFO] [stdout] b89d36d11933809f16366b04475a0447536b0d04461e21f3634f677207faec40