[INFO] fetching crate reed-solomon 0.2.1... [INFO] checking reed-solomon-0.2.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate reed-solomon 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate reed-solomon 0.2.1 [INFO] finished tweaking crates.io crate reed-solomon 0.2.1 [INFO] tweaked toml for crates.io crate reed-solomon 0.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reed-solomon 0.2.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c09ca7ca4a5a2241cc9df035ea4efb8924d3ee2352f848662f8920abdb719346 [INFO] running `Command { std: "docker" "start" "-a" "c09ca7ca4a5a2241cc9df035ea4efb8924d3ee2352f848662f8920abdb719346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c09ca7ca4a5a2241cc9df035ea4efb8924d3ee2352f848662f8920abdb719346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c09ca7ca4a5a2241cc9df035ea4efb8924d3ee2352f848662f8920abdb719346", kill_on_drop: false }` [INFO] [stdout] c09ca7ca4a5a2241cc9df035ea4efb8924d3ee2352f848662f8920abdb719346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05f42adc8df8254b7790dc6f0166931d40a7290f90681aad328bb56922dc3422 [INFO] running `Command { std: "docker" "start" "-a" "05f42adc8df8254b7790dc6f0166931d40a7290f90681aad328bb56922dc3422", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking reed-solomon v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | #![cfg_attr(feature = "dev", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe_indexing` [INFO] [stdout] = help: consider adding `dev` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | #![cfg_attr(feature = "dev", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe_indexing` [INFO] [stdout] = help: consider adding `dev` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/encoder.rs:57:62 [INFO] [stdout] | [INFO] [stdout] 57 | uncheck_mut!(data_out[i + j]) ^= gf::EXP[(lcoef + lgen[j] as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - uncheck_mut!(data_out[i + j]) ^= gf::EXP[(lcoef + lgen[j] as usize)]; [INFO] [stdout] 57 + uncheck_mut!(data_out[i + j]) ^= gf::EXP[lcoef + lgen[j] as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | let err_loc = try!(self.find_error_locator(&fsynd, None, erase_pos.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let mut err_pos = try!(self.find_errors(&err_loc.reverse(), msg.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_assign` is never used [INFO] [stdout] --> src/gf/poly_math.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Add { [INFO] [stdout] | --- method in this trait [INFO] [stdout] 11 | fn add(&self, rhs: &Self) -> Polynom; [INFO] [stdout] 12 | fn add_assign(&mut self, rhs: &Self) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | #![cfg_attr(feature = "dev", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe_indexing` [INFO] [stdout] = help: consider adding `dev` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | #![cfg_attr(feature = "dev", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `unsafe_indexing` [INFO] [stdout] = help: consider adding `dev` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/encoder.rs:57:62 [INFO] [stdout] | [INFO] [stdout] 57 | uncheck_mut!(data_out[i + j]) ^= gf::EXP[(lcoef + lgen[j] as usize)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - uncheck_mut!(data_out[i + j]) ^= gf::EXP[(lcoef + lgen[j] as usize)]; [INFO] [stdout] 57 + uncheck_mut!(data_out[i + j]) ^= gf::EXP[lcoef + lgen[j] as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | let err_loc = try!(self.find_error_locator(&fsynd, None, erase_pos.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let mut err_pos = try!(self.find_errors(&err_loc.reverse(), msg.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> examples/bandwidth.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> examples/bandwidth.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> examples/bandwidth.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BenchResult: Encodable` is not satisfied [INFO] [stdout] --> examples/bandwidth.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | let json = rustc_serialize::json::encode(&results).unwrap(); [INFO] [stdout] | ----------------------------- ^^^^^^^^ the trait `Encodable` is not implemented for `BenchResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] = note: required for `Vec` to implement `Encodable` [INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn encode(object: &T) -> EncodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reed-solomon` (example "bandwidth") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `add_assign` is never used [INFO] [stdout] --> src/gf/poly_math.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Add { [INFO] [stdout] | --- method in this trait [INFO] [stdout] 11 | fn add(&self, rhs: &Self) -> Polynom; [INFO] [stdout] 12 | fn add_assign(&mut self, rhs: &Self) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "05f42adc8df8254b7790dc6f0166931d40a7290f90681aad328bb56922dc3422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f42adc8df8254b7790dc6f0166931d40a7290f90681aad328bb56922dc3422", kill_on_drop: false }` [INFO] [stdout] 05f42adc8df8254b7790dc6f0166931d40a7290f90681aad328bb56922dc3422