[INFO] fetching crate dameng_rust_sdk 0.1.3... [INFO] checking dameng_rust_sdk-0.1.3 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate dameng_rust_sdk 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate dameng_rust_sdk 0.1.3 [INFO] finished tweaking crates.io crate dameng_rust_sdk 0.1.3 [INFO] tweaked toml for crates.io crate dameng_rust_sdk 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dameng_rust_sdk 0.1.3 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 dameng_rust_sdk 0.1.3 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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 93cd264c73858ad2b1a102906479729fe92a07afb1a40301040c6be1ea0429e7 [INFO] running `Command { std: "docker" "start" "93cd264c73858ad2b1a102906479729fe92a07afb1a40301040c6be1ea0429e7", 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" "93cd264c73858ad2b1a102906479729fe92a07afb1a40301040c6be1ea0429e7" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93cd264c73858ad2b1a102906479729fe92a07afb1a40301040c6be1ea0429e7", 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" "93cd264c73858ad2b1a102906479729fe92a07afb1a40301040c6be1ea0429e7" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling odbc-sys v0.24.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking widestring v1.2.1 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking jiff v0.2.18 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling odbc-api-derive v8.1.4 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking odbc-api v8.1.4 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking dameng_rust_sdk v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/types.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 120 | value.as_int().ok_or_else(|| Error::type_conversion("Expected integer value").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] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/types.rs:126:42 [INFO] [stdout] | [INFO] [stdout] 126 | value.as_big_int().ok_or_else(|| Error::type_conversion("Expected big integer value").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::Error` [INFO] [stdout] --> src/types.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | value.as_float().ok_or_else(|| Error::type_conversion("Expected float value").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::Error` [INFO] [stdout] --> src/types.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | _ => Err(Error::type_conversion("Expected string value").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::Error` [INFO] [stdout] --> src/types.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | value.as_bool().ok_or_else(|| Error::type_conversion("Expected boolean value").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::Error` [INFO] [stdout] --> src/types.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | value.as_date().cloned().ok_or_else(|| Error::type_conversion("Expected date value").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::Error` [INFO] [stdout] --> src/types.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | value.as_datetime().cloned().ok_or_else(|| Error::type_conversion("Expected datetime value").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 `dameng_rust_sdk` (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: `error::Error` [INFO] [stdout] --> src/types.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 120 | value.as_int().ok_or_else(|| Error::type_conversion("Expected integer value").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] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/types.rs:126:42 [INFO] [stdout] | [INFO] [stdout] 126 | value.as_big_int().ok_or_else(|| Error::type_conversion("Expected big integer value").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::Error` [INFO] [stdout] --> src/types.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | value.as_float().ok_or_else(|| Error::type_conversion("Expected float value").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::Error` [INFO] [stdout] --> src/types.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | _ => Err(Error::type_conversion("Expected string value").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::Error` [INFO] [stdout] --> src/types.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | value.as_bool().ok_or_else(|| Error::type_conversion("Expected boolean value").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::Error` [INFO] [stdout] --> src/types.rs:159:48 [INFO] [stdout] | [INFO] [stdout] 159 | value.as_date().cloned().ok_or_else(|| Error::type_conversion("Expected date value").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::Error` [INFO] [stdout] --> src/types.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | value.as_datetime().cloned().ok_or_else(|| Error::type_conversion("Expected datetime value").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 `dameng_rust_sdk` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "93cd264c73858ad2b1a102906479729fe92a07afb1a40301040c6be1ea0429e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93cd264c73858ad2b1a102906479729fe92a07afb1a40301040c6be1ea0429e7", kill_on_drop: false }` [INFO] [stdout] 93cd264c73858ad2b1a102906479729fe92a07afb1a40301040c6be1ea0429e7