[INFO] fetching crate korat 0.2.0... [INFO] checking korat-0.2.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate korat 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate korat 0.2.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 144 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusoto_dynamodb v0.48.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69942232d072d9d2f561e0fda8101ff04a1134c669071ab7b9d1ecaecf718956 [INFO] running `Command { std: "docker" "start" "-a" "69942232d072d9d2f561e0fda8101ff04a1134c669071ab7b9d1ecaecf718956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69942232d072d9d2f561e0fda8101ff04a1134c669071ab7b9d1ecaecf718956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69942232d072d9d2f561e0fda8101ff04a1134c669071ab7b9d1ecaecf718956", kill_on_drop: false }` [INFO] [stdout] 69942232d072d9d2f561e0fda8101ff04a1134c669071ab7b9d1ecaecf718956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e56957160a7ac625bee87ac8fa63940886bc1bd2fd144109f6dac9ad05afdda0 [INFO] running `Command { std: "docker" "start" "-a" "e56957160a7ac625bee87ac8fa63940886bc1bd2fd144109f6dac9ad05afdda0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Compiling rusoto_core v0.48.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking openssl v0.10.68 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking native-tls v0.2.12 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper v0.14.31 [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.2.0 (/opt/rustwide/workdir) [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] = 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:1967:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `Vec` and `Vec: FromIterator` trivially holds [INFO] [stdout] | [INFO] [stdout] 129 - .and_then(|mut vec| Ok(vec.drain(..).collect())) [INFO] [stdout] 129 + .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] --> 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] = 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:1967:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `HashSet>` and `HashSet>: FromIterator>` trivially holds [INFO] [stdout] | [INFO] [stdout] 133 - macros::attribute_value!(bs, self.drain().collect()) [INFO] [stdout] 133 + macros::attribute_value!(bs, self.collect()) [INFO] [stdout] | [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [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] 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] = 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:1967:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `Vec` and `Vec: FromIterator` trivially holds [INFO] [stdout] | [INFO] [stdout] 129 - .and_then(|mut vec| Ok(vec.drain(..).collect())) [INFO] [stdout] 129 + .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] --> 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] = 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:1967:5 [INFO] [stdout] help: consider removing this method call, as the receiver has type `HashSet>` and `HashSet>: FromIterator>` trivially holds [INFO] [stdout] | [INFO] [stdout] 133 - macros::attribute_value!(bs, self.drain().collect()) [INFO] [stdout] 133 + macros::attribute_value!(bs, self.collect()) [INFO] [stdout] | [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [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 [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 365 | b: Some(input), [INFO] [stdout] | ---- ^^^^^ expected `Bytes`, found `Vec<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::bytes::Bytes` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] help: the type constructed contains `Vec<{integer}>` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | b: Some(input), [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec<{integer}>` into `bytes::bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] 365 | b: Some(input.into()), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | bs: Some(input), [INFO] [stdout] | ---- ^^^^^ expected `Vec`, found `Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [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:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | bs: Some(input), [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:403:40 [INFO] [stdout] | [INFO] [stdout] 403 | assert!(retrieved.contains(&val)) [INFO] [stdout] | -------- ^^^^ expected `&Bytes`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&bytes::bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/slice/mod.rs:2509:12 [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 test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "e56957160a7ac625bee87ac8fa63940886bc1bd2fd144109f6dac9ad05afdda0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56957160a7ac625bee87ac8fa63940886bc1bd2fd144109f6dac9ad05afdda0", kill_on_drop: false }` [INFO] [stdout] e56957160a7ac625bee87ac8fa63940886bc1bd2fd144109f6dac9ad05afdda0