[INFO] fetching crate korat 0.2.0... [INFO] testing korat-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate korat 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate korat 0.2.0 [INFO] finished tweaking crates.io crate korat 0.2.0 [INFO] tweaked toml for crates.io crate korat 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate korat 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 163 packages to latest compatible versions [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8d3cf1de2ac30f05f12765a63454864f021c7ede20e067046deeb27a6d072ad [INFO] running `Command { std: "docker" "start" "-a" "d8d3cf1de2ac30f05f12765a63454864f021c7ede20e067046deeb27a6d072ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8d3cf1de2ac30f05f12765a63454864f021c7ede20e067046deeb27a6d072ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d3cf1de2ac30f05f12765a63454864f021c7ede20e067046deeb27a6d072ad", kill_on_drop: false }` [INFO] [stdout] d8d3cf1de2ac30f05f12765a63454864f021c7ede20e067046deeb27a6d072ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a26db69caa4645a55e5ed457460ec3b8c8e7e3827d913172668722c713242b7b [INFO] running `Command { std: "docker" "start" "-a" "a26db69caa4645a55e5ed457460ec3b8c8e7e3827d913172668722c713242b7b", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling rusoto_core v0.48.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rusoto_credential v0.48.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling rusoto_signature v0.48.0 [INFO] [stderr] Compiling rusoto_dynamodb v0.48.0 [INFO] [stderr] Compiling korat v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from, decl_macro)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `HashSet>` cannot be built from an iterator over elements of type `bytes::bytes::Bytes` [INFO] [stdout] --> src/lib.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | .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] but trait `FromIterator>` is implemented for it [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/collections/hash/set.rs:1147:0 [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] --> src/lib.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | .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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/iter/traits/iterator.rs:2067:4 [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] --> src/lib.rs:133:51 [INFO] [stdout] | [INFO] [stdout] 133 | macros::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] but trait `FromIterator` is implemented for it [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/vec/mod.rs:3881:0 [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] --> src/lib.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | macros::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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/iter/traits/iterator.rs:2067:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 138 | fn from_attribute_value(attribute_value: AttributeValue) -> ConversionResult { [INFO] [stdout] | ---------------------- expected `Result, ConversionError>` because of return type [INFO] [stdout] 139 | 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] --> src/lib.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 29 | $field: Some($value), [INFO] [stdout] | ---- arguments to this enum variant are incorrect [INFO] [stdout] ... [INFO] [stdout] 143 | macros::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] --> src/lib.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | $field: Some($value), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | macros::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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/option.rs:608:4 [INFO] [stdout] = note: this error originates in the macro `macros::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] 143 | macros::attribute_value!(b, self.into()) [INFO] [stdout] | +++++++ [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 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a26db69caa4645a55e5ed457460ec3b8c8e7e3827d913172668722c713242b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a26db69caa4645a55e5ed457460ec3b8c8e7e3827d913172668722c713242b7b", kill_on_drop: false }` [INFO] [stdout] a26db69caa4645a55e5ed457460ec3b8c8e7e3827d913172668722c713242b7b