[INFO] fetching crate korat_derive 0.1.3... [INFO] checking korat_derive-0.1.3 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate korat_derive 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate korat_derive 0.1.3 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate korat_derive 0.1.3 [INFO] finished tweaking crates.io crate korat_derive 0.1.3 [INFO] tweaked toml for crates.io crate korat_derive 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 155 packages [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.4) [INFO] [stderr] Adding hmac v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.0) [INFO] [stderr] Adding hyper v0.14.28 (latest: v1.2.0) [INFO] [stderr] Adding hyper-tls v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding korat v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding md-5 v0.9.1 (latest: v0.10.6) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding subtle v2.4.1 (latest: v2.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusoto_credential v0.48.0 [INFO] [stderr] Downloaded rusoto_core v0.48.0 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded rusoto_signature v0.48.0 [INFO] [stderr] Downloaded rusoto_dynamodb v0.48.0 [INFO] [stderr] Downloaded korat v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8999c515b3c3ed14ccff44565191d38ab195bc1ca79d4fbe668fe3a956209b7e [INFO] running `Command { std: "docker" "start" "-a" "8999c515b3c3ed14ccff44565191d38ab195bc1ca79d4fbe668fe3a956209b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8999c515b3c3ed14ccff44565191d38ab195bc1ca79d4fbe668fe3a956209b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8999c515b3c3ed14ccff44565191d38ab195bc1ca79d4fbe668fe3a956209b7e", kill_on_drop: false }` [INFO] [stdout] 8999c515b3c3ed14ccff44565191d38ab195bc1ca79d4fbe668fe3a956209b7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4df6d54fc5b9c016b69eb9439e723709d6bd0a826e3ccc048fce2126e00d614a [INFO] running `Command { std: "docker" "start" "-a" "4df6d54fc5b9c016b69eb9439e723709d6bd0a826e3ccc048fce2126e00d614a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rusoto_core v0.48.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking rusoto_credential v0.48.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking rusoto_signature v0.48.0 [INFO] [stderr] Checking rusoto_dynamodb v0.48.0 [INFO] [stderr] Checking korat v0.1.3 [INFO] [stdout] error[E0277]: a value of type `HashSet>` cannot be built from an iterator over elements of type `bytes::bytes::Bytes` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/korat-0.1.3/src/lib.rs:83:50 [INFO] [stdout] | [INFO] [stdout] 83 | .and_then(|mut vec| Ok(vec.drain(..).collect())) [INFO] [stdout] | ^^^^^^^ value of type `HashSet>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `HashSet>` [INFO] [stdout] = help: the trait `FromIterator>` is implemented for `HashSet>` [INFO] [stdout] = help: for that trait implementation, expected `Vec`, found `bytes::bytes::Bytes` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/korat-0.1.3/src/lib.rs:83:40 [INFO] [stdout] | [INFO] [stdout] 83 | .and_then(|mut vec| Ok(vec.drain(..).collect())) [INFO] [stdout] | --- ^^^^^^^^^ `Iterator::Item` is `Bytes` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Vec` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `Vec` and `Vec: FromIterator` trivially holds [INFO] [stdout] | [INFO] [stdout] 83 - .and_then(|mut vec| Ok(vec.drain(..).collect())) [INFO] [stdout] 83 + .and_then(|mut vec| Ok(vec.collect())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/korat-0.1.3/src/lib.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | attribute_value!(bs, self.drain().collect()) [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator>` is not implemented for `Vec` [INFO] [stdout] = help: the trait `FromIterator` is implemented for `Vec` [INFO] [stdout] = help: for that trait implementation, expected `bytes::bytes::Bytes`, found `Vec` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/korat-0.1.3/src/lib.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | attribute_value!(bs, self.drain().collect()) [INFO] [stdout] | ---- ^^^^^^^ `Iterator::Item` is `Vec` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `HashSet>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `HashSet>` and `HashSet>: FromIterator>` trivially holds [INFO] [stdout] | [INFO] [stdout] 87 - attribute_value!(bs, self.drain().collect()) [INFO] [stdout] 87 + attribute_value!(bs, self.collect()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/korat-0.1.3/src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 94 | ) -> ConversionResult { [INFO] [stdout] | ---------------------- expected `Result, ConversionError>` because of return type [INFO] [stdout] 95 | attribute_value.b.ok_or(ConversionError::MissingValue) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result, ConversionError>`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, _>` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/korat-0.1.3/src/lib.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 40 | $field: Some($value), [INFO] [stdout] | ---- arguments to this enum variant are incorrect [INFO] [stdout] ... [INFO] [stdout] 99 | attribute_value!(b, self) [INFO] [stdout] | ^^^^ expected `Bytes`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] help: the type constructed contains `Vec` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/korat-0.1.3/src/lib.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | $field: Some($value), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | attribute_value!(b, self) [INFO] [stdout] | ------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this argument influences the type of `Some` [INFO] [stdout] | in this macro invocation [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] = note: this error originates in the macro `attribute_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec` into `bytes::bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] 99 | attribute_value!(b, self.into()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `korat` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4df6d54fc5b9c016b69eb9439e723709d6bd0a826e3ccc048fce2126e00d614a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df6d54fc5b9c016b69eb9439e723709d6bd0a826e3ccc048fce2126e00d614a", kill_on_drop: false }` [INFO] [stdout] 4df6d54fc5b9c016b69eb9439e723709d6bd0a826e3ccc048fce2126e00d614a