[INFO] fetching crate ntex-bytes 0.1.27... [INFO] checking ntex-bytes-0.1.27 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate ntex-bytes 0.1.27 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate ntex-bytes 0.1.27 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntex-bytes 0.1.27 [INFO] finished tweaking crates.io crate ntex-bytes 0.1.27 [INFO] tweaked toml for crates.io crate ntex-bytes 0.1.27 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 108 packages to latest compatible versions [INFO] [stderr] Adding ntex v1.2.1 (available: v2.12.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee6a3e5c16f4a3135d9f84427d7163aa4d3e4c88de778a36f0bd1560907b46b9 [INFO] running `Command { std: "docker" "start" "-a" "ee6a3e5c16f4a3135d9f84427d7163aa4d3e4c88de778a36f0bd1560907b46b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee6a3e5c16f4a3135d9f84427d7163aa4d3e4c88de778a36f0bd1560907b46b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6a3e5c16f4a3135d9f84427d7163aa4d3e4c88de778a36f0bd1560907b46b9", kill_on_drop: false }` [INFO] [stdout] ee6a3e5c16f4a3135d9f84427d7163aa4d3e4c88de778a36f0bd1560907b46b9 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f460d4dcb6623a9c4eac81f76c95f69df8dcc2bdab43446df1bee6de921bebbc [INFO] running `Command { std: "docker" "start" "-a" "f460d4dcb6623a9c4eac81f76c95f69df8dcc2bdab43446df1bee6de921bebbc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling ntex-rt v0.4.30 [INFO] [stderr] Checking oneshot v0.1.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking ntex-service v2.0.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking ntex-util v1.0.1 [INFO] [stderr] Compiling ntex-macros v0.1.4 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking ntex-bytes v0.1.27 (/opt/rustwide/workdir) [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.13 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking ntex-io v1.2.0 [INFO] [stderr] Checking ntex-tokio v0.4.0 [INFO] [stderr] Checking ntex-net v1.0.2 [INFO] [stderr] Checking ntex-h2 v0.5.5 [INFO] [stderr] Checking ntex-server v1.0.5 [INFO] [stderr] Checking ntex-tls v1.1.0 [INFO] [stderr] Checking ntex v1.2.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> tests/test_serde.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `mpool`, `simd`, and `simdutf8` [INFO] [stdout] = help: consider adding `serde` 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[E0407]: method `bytes` is not a member of trait `Buf` [INFO] [stdout] --> benches/buf.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / fn bytes(&self) -> &[u8] { [INFO] [stdout] 57 | | if self.readlen == 0 { [INFO] [stdout] 58 | | Default::default() [INFO] [stdout] 59 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ not a member of trait `Buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `bytes` is not a member of trait `Buf` [INFO] [stdout] --> benches/buf.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / fn bytes(&self) -> &[u8] { [INFO] [stdout] 91 | | self.inner.bytes() [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____^ not a member of trait `Buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `chunk` [INFO] [stdout] --> benches/buf.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | impl Buf for TestBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `chunk` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn chunk(&self) -> &[u8] { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `chunk` [INFO] [stdout] --> benches/buf.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | impl Buf for TestBufC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ missing `chunk` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn chunk(&self) -> &[u8] { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `enable_test_logging` in module `ntex::util` [INFO] [stdout] --> tests/test_bytes.rs:1131:1 [INFO] [stdout] | [INFO] [stdout] 1131 | #[ntex::test] [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `ntex::util` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `ntex::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for struct `TestBuf` in the current scope [INFO] [stdout] --> benches/buf.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 10 | struct TestBuf { [INFO] [stdout] | -------------- method `bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | self.inner.bytes() [INFO] [stdout] | ^^^^^ [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 `bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] help: there is a method `to_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 91 | self.inner.to_bytes() [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `&mut Option<[u8; 1]>` as `&mut dyn ntex_bytes::Buf` [INFO] [stdout] --> benches/buf.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | let buf = &mut buf as &mut dyn Buf; // type erasure [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] ... [INFO] [stdout] 162 | bench!(option, option); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0407, E0599, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex-bytes` (bench "buf") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex-bytes` (test "test_bytes") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "f460d4dcb6623a9c4eac81f76c95f69df8dcc2bdab43446df1bee6de921bebbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f460d4dcb6623a9c4eac81f76c95f69df8dcc2bdab43446df1bee6de921bebbc", kill_on_drop: false }` [INFO] [stdout] f460d4dcb6623a9c4eac81f76c95f69df8dcc2bdab43446df1bee6de921bebbc