[INFO] fetching crate nncombinator 0.9.0... [INFO] checking nncombinator-0.9.0 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate nncombinator 0.9.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate nncombinator 0.9.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nncombinator 0.9.0 [INFO] tweaked toml for crates.io crate nncombinator 0.9.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nncombinator 0.9.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding image v0.24.9 (available: v0.25.10) [INFO] [stderr] Adding mnist v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.1) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.6.0) [INFO] [stderr] Adding rand_xorshift v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding statrs v0.15.0 (available: v0.18.0) [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] cedfe2ab959f02b10e17f5fbf5aa7392fb9b9dfb8237bf0cd52c05856a48b5af [INFO] running `Command { std: "docker" "start" "cedfe2ab959f02b10e17f5fbf5aa7392fb9b9dfb8237bf0cd52c05856a48b5af", 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" "cedfe2ab959f02b10e17f5fbf5aa7392fb9b9dfb8237bf0cd52c05856a48b5af" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cedfe2ab959f02b10e17f5fbf5aa7392fb9b9dfb8237bf0cd52c05856a48b5af", 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" "cedfe2ab959f02b10e17f5fbf5aa7392fb9b9dfb8237bf0cd52c05856a48b5af" "/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.52 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rcudnn-sys v0.5.0 [INFO] [stderr] Compiling rcublas-sys v0.5.0 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy-derive v0.8.52 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling nncombinator v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking memchr v2.8.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking mnist v0.5.0 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Compiling cuda-runtime-sys v0.3.0-alpha.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rcublas v0.6.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking rcudnn v1.8.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stdout] error: useless conversion to the same type: `arr::Arr` [INFO] [stdout] --> src/device/linear.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(loss.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: `CudaTensor1dPtr` [INFO] [stdout] --> src/device/linear.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | Ok(loss.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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `CudaTensor1dPtr` [INFO] [stdout] --> src/device/output.rs:164:79 [INFO] [stdout] | [INFO] [stdout] 164 | let mut args = LossLinearByCanonicalLinkArgs::new(&expected, &actual, output.into(), N); [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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `T` [INFO] [stdout] --> src/computational_graph.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | d.clone().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: `T` [INFO] [stdout] --> src/computational_graph.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | d.clone().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: `&PI` [INFO] [stdout] --> src/layer/linear.rs:315:59 [INFO] [stdout] | [INFO] [stdout] 315 | self.device.forward_linear(&self.bias,&self.units,input.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 `<&PI as Into<&PI>::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&PI` [INFO] [stdout] --> src/layer/linear.rs:392:50 [INFO] [stdout] | [INFO] [stdout] 392 | self.device.backward_weight_gradient(o.into(),&loss) [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 `<&PI as Into<&PI>::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PI` [INFO] [stdout] --> src/layer/linear.rs:397:41 [INFO] [stdout] | [INFO] [stdout] 397 | let (s,loss) = self.parent.loss(next_loss.into(),lossf,s)?; [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: `PI` [INFO] [stdout] --> src/layer/activation.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | self.parent.backward_all(input.into(), s, lossf) [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: `PI` [INFO] [stdout] --> src/layer/activation.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | Ok((Cons(s,o),r.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: `(

>::LossOutput,

>::GradientStack)` [INFO] [stdout] --> src/layer/bridge.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(self.parent.backward_all(input.into(), stack, lossf)?.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 `<(

>::LossOutput,

>::GradientStack) as Into<(

>::LossOutput,

>::GradientStack)>::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PI` [INFO] [stdout] --> src/layer/bias.rs:263:46 [INFO] [stdout] | [INFO] [stdout] 263 | let (s,next_loss) = self.parent.loss(next_loss.into(),lossf,s)?; [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/arr.rs:1391:17 [INFO] [stdout] | [INFO] [stdout] 1391 | pub fn iter(&self) -> SerializedVecIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1391 | pub fn iter(&self) -> SerializedVecIter<'_, U,T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/arr.rs:1412:21 [INFO] [stdout] | [INFO] [stdout] 1412 | pub fn iter_mut(&mut self) -> SerializedVecIterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1412 | pub fn iter_mut(&mut self) -> SerializedVecIterMut<'_, U,T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nncombinator` (lib) due to 12 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cedfe2ab959f02b10e17f5fbf5aa7392fb9b9dfb8237bf0cd52c05856a48b5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cedfe2ab959f02b10e17f5fbf5aa7392fb9b9dfb8237bf0cd52c05856a48b5af", kill_on_drop: false }` [INFO] [stdout] cedfe2ab959f02b10e17f5fbf5aa7392fb9b9dfb8237bf0cd52c05856a48b5af