[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CouleeApps/dnet-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 620ce3c88ffb47724824eeac0e4554bc19c3262f35929cb9baf45541a6842cad [INFO] running `Command { std: "docker" "start" "-a" "620ce3c88ffb47724824eeac0e4554bc19c3262f35929cb9baf45541a6842cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "620ce3c88ffb47724824eeac0e4554bc19c3262f35929cb9baf45541a6842cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "620ce3c88ffb47724824eeac0e4554bc19c3262f35929cb9baf45541a6842cad", kill_on_drop: false }` [INFO] [stdout] 620ce3c88ffb47724824eeac0e4554bc19c3262f35929cb9baf45541a6842cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30a9543627032bfae8f540f834a97035ffe217992572e7182bcdcd9586dcd0e0 [INFO] running `Command { std: "docker" "start" "-a" "30a9543627032bfae8f540f834a97035ffe217992572e7182bcdcd9586dcd0e0", 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] Checking instant v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking bytes v1.0.1 [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 num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [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_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: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_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: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_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: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 `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_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: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: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_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_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[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" "30a9543627032bfae8f540f834a97035ffe217992572e7182bcdcd9586dcd0e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a9543627032bfae8f540f834a97035ffe217992572e7182bcdcd9586dcd0e0", kill_on_drop: false }` [INFO] [stdout] 30a9543627032bfae8f540f834a97035ffe217992572e7182bcdcd9586dcd0e0 [INFO] checking CouleeApps/dnet-rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCouleeApps%2Fdnet-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CouleeApps/dnet-rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-4-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bac5414c7467bdeb548901ba1adcb824791d8bdf74d1d8f117f0bde423c78e2a [INFO] running `Command { std: "docker" "start" "-a" "bac5414c7467bdeb548901ba1adcb824791d8bdf74d1d8f117f0bde423c78e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bac5414c7467bdeb548901ba1adcb824791d8bdf74d1d8f117f0bde423c78e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac5414c7467bdeb548901ba1adcb824791d8bdf74d1d8f117f0bde423c78e2a", kill_on_drop: false }` [INFO] [stdout] bac5414c7467bdeb548901ba1adcb824791d8bdf74d1d8f117f0bde423c78e2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 668352d4b76ec2ee4fcfa8b3f194c73c542f1dacbc971843e482b80a57347949 [INFO] running `Command { std: "docker" "start" "-a" "668352d4b76ec2ee4fcfa8b3f194c73c542f1dacbc971843e482b80a57347949", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "668352d4b76ec2ee4fcfa8b3f194c73c542f1dacbc971843e482b80a57347949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "668352d4b76ec2ee4fcfa8b3f194c73c542f1dacbc971843e482b80a57347949", kill_on_drop: false }` [INFO] [stdout] 668352d4b76ec2ee4fcfa8b3f194c73c542f1dacbc971843e482b80a57347949