[INFO] cloning repository https://github.com/CouleeApps/dnet-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CouleeApps/dnet-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc298844217075d066fb74fae4e5b1564f176058 [INFO] checking CouleeApps/dnet-rs against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CouleeApps/dnet-rs on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CouleeApps/dnet-rs [INFO] finished tweaking git repo https://github.com/CouleeApps/dnet-rs [INFO] tweaked toml for git repo https://github.com/CouleeApps/dnet-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CouleeApps/dnet-rs 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v1.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7422bd5fe7e7a6774f34f6f9dea807a08a36831666cbf2e78d42a84ac5951b25 [INFO] running `Command { std: "docker" "start" "-a" "7422bd5fe7e7a6774f34f6f9dea807a08a36831666cbf2e78d42a84ac5951b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7422bd5fe7e7a6774f34f6f9dea807a08a36831666cbf2e78d42a84ac5951b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7422bd5fe7e7a6774f34f6f9dea807a08a36831666cbf2e78d42a84ac5951b25", kill_on_drop: false }` [INFO] [stdout] 7422bd5fe7e7a6774f34f6f9dea807a08a36831666cbf2e78d42a84ac5951b25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81a76b7fb5890dfe57f349fe20ba91a0d7eab946678df2a1fab1ce14eb15a83e [INFO] running `Command { std: "docker" "start" "-a" "81a76b7fb5890dfe57f349fe20ba91a0d7eab946678df2a1fab1ce14eb15a83e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking dnet-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/bitstream.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 360 | i = (f * (max_int as f32)).round(); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/bitstream.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 360 | i = (f * (max_int as f32)).round(); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | return self.read_float(bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn read_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let phi = self.read_signed_float(bit_count + 1) * PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 246 | let phi = self.read_signed_float_neg_one_to_one(bit_count + 1) * PI; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | let theta = self.read_signed_float(bit_count) * (PI / 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 247 | let theta = self.read_signed_float_neg_one_to_one(bit_count) * (PI / 2.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | mag = self.read_float(magnitude_bits) * max_magnitude; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn read_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | return self.read_float(bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn read_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float_neg_one_to_one(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | sum += vals[i] * vals[i]; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:286:35 [INFO] [stdout] | [INFO] [stdout] 286 | sum += vals[i] * vals[i]; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 290 | vals[idx_max] = 1.0; [INFO] [stdout] | ^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | vals[idx_max] = (1.0 - sum).sqrt(); [INFO] [stdout] | ^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let phi = self.read_signed_float(bit_count + 1) * PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 246 | let phi = self.read_signed_float_neg_one_to_one(bit_count + 1) * PI; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn write_flag(&mut self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | let theta = self.read_signed_float(bit_count) * (PI / 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 247 | let theta = self.read_signed_float_neg_one_to_one(bit_count) * (PI / 2.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `{integer}` to `f32` [INFO] [stdout] --> src/bitstream.rs:370:40 [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^ no implementation for `f32 + {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add<{integer}>` is not implemented for `f32` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] <&'a f32 as Add> [INFO] [stdout] <&f32 as Add<&f32>> [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] help: consider using a floating-point literal by writing it with `.0` [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1.0) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | mag = self.read_float(magnitude_bits) * max_magnitude; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn read_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:390:14 [INFO] [stdout] | [INFO] [stdout] 390 | self.write_signed_float(phi, bit_count + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 390 | self.write_int(phi, bit_count + 1); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_signed_float_neg_one_to_one` with a similar name [INFO] [stdout] | [INFO] [stdout] 285 | vals[i] = self.read_signed_float_neg_one_to_one(bit_count) * FRAC_1_SQRT_2; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | sum += vals[i] * vals[i]; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | self.write_signed_float(theta, bit_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 391 | self.write_int(theta, bit_count); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:286:35 [INFO] [stdout] | [INFO] [stdout] 286 | sum += vals[i] * vals[i]; [INFO] [stdout] | ^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 290 | vals[idx_max] = 1.0; [INFO] [stdout] | ^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[f32]` cannot be indexed by `u32` [INFO] [stdout] --> src/bitstream.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | vals[idx_max] = (1.0 - sum).sqrt(); [INFO] [stdout] | ^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is not implemented for `u32`, which is required by `[f32; 4]: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[f32]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `usize`, found `u32` [INFO] [stdout] = note: required for `[f32]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[f32; 4]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | self.write_float(mag / max_magnitude, magnitude_bits); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn write_flag(&mut self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn write_flag(&mut self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `{integer}` to `f32` [INFO] [stdout] --> src/bitstream.rs:370:40 [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ^ no implementation for `f32 + {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add<{integer}>` is not implemented for `f32` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] <&'a f32 as Add> [INFO] [stdout] <&f32 as Add<&f32>> [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] help: consider using a floating-point literal by writing it with `.0` [INFO] [stdout] | [INFO] [stdout] 370 | return self.write_float((value + 1.0) / 2, bit_count) * 2f32 - 1f32; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:454:18 [INFO] [stdout] | [INFO] [stdout] 454 | self.write_signed_float(cur_value, bit_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 454 | self.write_int(cur_value, bit_count); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:390:14 [INFO] [stdout] | [INFO] [stdout] 390 | self.write_signed_float(phi, bit_count + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 390 | self.write_int(phi, bit_count + 1); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | self.write_signed_float(theta, bit_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 391 | self.write_int(theta, bit_count); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | self.write_float(mag / max_magnitude, magnitude_bits); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_flag` with a similar name, but with different arguments [INFO] [stdout] --> src/bitstream.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn write_flag(&mut self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_signed_float` found for mutable reference `&mut BitStream` in the current scope [INFO] [stdout] --> src/bitstream.rs:454:18 [INFO] [stdout] | [INFO] [stdout] 454 | self.write_signed_float(cur_value, bit_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_int` with a similar name [INFO] [stdout] | [INFO] [stdout] 454 | self.write_int(cur_value, bit_count); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dnet-rs` (bin "dnet-rs" test) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dnet-rs` (bin "dnet-rs") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "81a76b7fb5890dfe57f349fe20ba91a0d7eab946678df2a1fab1ce14eb15a83e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a76b7fb5890dfe57f349fe20ba91a0d7eab946678df2a1fab1ce14eb15a83e", kill_on_drop: false }` [INFO] [stdout] 81a76b7fb5890dfe57f349fe20ba91a0d7eab946678df2a1fab1ce14eb15a83e [INFO] checking CouleeApps/dnet-rs against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CouleeApps/dnet-rs on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CouleeApps/dnet-rs [INFO] finished tweaking git repo https://github.com/CouleeApps/dnet-rs [INFO] tweaked toml for git repo https://github.com/CouleeApps/dnet-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CouleeApps/dnet-rs 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d6a7f772f43bb8fd7656fa1df7ae102e179f6aeafacee7786ea6e1b120b7993 [INFO] running `Command { std: "docker" "start" "-a" "2d6a7f772f43bb8fd7656fa1df7ae102e179f6aeafacee7786ea6e1b120b7993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d6a7f772f43bb8fd7656fa1df7ae102e179f6aeafacee7786ea6e1b120b7993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6a7f772f43bb8fd7656fa1df7ae102e179f6aeafacee7786ea6e1b120b7993", kill_on_drop: false }` [INFO] [stdout] 2d6a7f772f43bb8fd7656fa1df7ae102e179f6aeafacee7786ea6e1b120b7993 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c26e8c008e7f9ecfac5627e07e26482eee1305bedff201f04250885e54a46640 [INFO] running `Command { std: "docker" "start" "-a" "c26e8c008e7f9ecfac5627e07e26482eee1305bedff201f04250885e54a46640", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "c26e8c008e7f9ecfac5627e07e26482eee1305bedff201f04250885e54a46640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26e8c008e7f9ecfac5627e07e26482eee1305bedff201f04250885e54a46640", kill_on_drop: false }` [INFO] [stdout] c26e8c008e7f9ecfac5627e07e26482eee1305bedff201f04250885e54a46640