[INFO] fetching crate cardano-serialization-lib 16.0.0-beta.1... [INFO] checking cardano-serialization-lib-16.0.0-beta.1 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate cardano-serialization-lib 16.0.0-beta.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate cardano-serialization-lib 16.0.0-beta.1 [INFO] finished tweaking crates.io crate cardano-serialization-lib 16.0.0-beta.1 [INFO] tweaked toml for crates.io crate cardano-serialization-lib 16.0.0-beta.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cardano-serialization-lib 16.0.0-beta.1 on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cardano-serialization-lib 16.0.0-beta.1 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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9ee5e120992322bcacae15825f3520a5f139a24ee216f432d36c4bacbe642d62 [INFO] running `Command { std: "docker" "start" "9ee5e120992322bcacae15825f3520a5f139a24ee216f432d36c4bacbe642d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ee5e120992322bcacae15825f3520a5f139a24ee216f432d36c4bacbe642d62" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ee5e120992322bcacae15825f3520a5f139a24ee216f432d36c4bacbe642d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ee5e120992322bcacae15825f3520a5f139a24ee216f432d36c4bacbe642d62" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking cryptoxide v0.4.4 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking cbor_event v2.4.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ed25519-bip32 v0.4.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling quickcheck_macros v0.9.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking cardano-serialization-lib v16.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `chain_crypto::key::PublicKey` [INFO] [stdout] --> src/protocol_types/crypto/bip32_private_key.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | Bip32PublicKey(self.0.to_public().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path ` as Into>::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/general.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 925 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/general.rs:1577:21 [INFO] [stdout] | [INFO] [stdout] 1577 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/metadata.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/plutus/language.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/plutus/plutus_data.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/native_script.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cardano-serialization-lib` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `chain_crypto::key::PublicKey` [INFO] [stdout] --> src/protocol_types/crypto/bip32_private_key.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | Bip32PublicKey(self.0.to_public().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path ` as Into>::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/general.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 925 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/general.rs:1577:21 [INFO] [stdout] | [INFO] [stdout] 1577 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/metadata.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/plutus/language.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/plutus/plutus_data.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::DeserializeFailure` [INFO] [stdout] --> src/serialization/native_script.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | DeserializeFailure::NoVariantMatched.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tests/builders/tx_builder.rs:6960:5 [INFO] [stdout] | [INFO] [stdout] 6960 | collateral_builder.add_regular_input(&fake_address, &fake_input, &Value::new(&BigNum(100000000))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 6960 | let _ = collateral_builder.add_regular_input(&fake_address, &fake_input, &Value::new(&BigNum(100000000))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tests/builders/tx_builder.rs:7015:5 [INFO] [stdout] | [INFO] [stdout] 7015 | tx_builder.calc_script_data_hash(&TxBuilderConstants::plutus_conway_cost_models()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 7015 | let _ = tx_builder.calc_script_data_hash(&TxBuilderConstants::plutus_conway_cost_models()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cardano-serialization-lib` (lib test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9ee5e120992322bcacae15825f3520a5f139a24ee216f432d36c4bacbe642d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ee5e120992322bcacae15825f3520a5f139a24ee216f432d36c4bacbe642d62", kill_on_drop: false }` [INFO] [stdout] 9ee5e120992322bcacae15825f3520a5f139a24ee216f432d36c4bacbe642d62