[INFO] fetching crate quick-csv 0.1.6... [INFO] checking quick-csv-0.1.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate quick-csv 0.1.6 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate quick-csv 0.1.6 [INFO] finished tweaking crates.io crate quick-csv 0.1.6 [INFO] tweaked toml for crates.io crate quick-csv 0.1.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate quick-csv 0.1.6 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4466b78a6080b313f9f79e2fae2b67b2220c499cd8e331f22952194eb38f1d3c [INFO] running `Command { std: "docker" "start" "-a" "4466b78a6080b313f9f79e2fae2b67b2220c499cd8e331f22952194eb38f1d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4466b78a6080b313f9f79e2fae2b67b2220c499cd8e331f22952194eb38f1d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4466b78a6080b313f9f79e2fae2b67b2220c499cd8e331f22952194eb38f1d3c", kill_on_drop: false }` [INFO] [stdout] 4466b78a6080b313f9f79e2fae2b67b2220c499cd8e331f22952194eb38f1d3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d85819c0d13ea2ba84ed53bf74b215d9dc0af32d94bf8b8da4a17f5bdc552030 [INFO] running `Command { std: "docker" "start" "-a" "d85819c0d13ea2ba84ed53bf74b215d9dc0af32d94bf8b8da4a17f5bdc552030", 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 quick-csv v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/test.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, RustcDecodable, RustcEncodable, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/test.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Debug, RustcDecodable, RustcEncodable, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/test.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(Debug, RustcDecodable, RustcEncodable, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/columns.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | let col = try!(self.next().ok_or(Error::EOL)); [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/columns.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let i = try!(self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/columns.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | let col = try!(self.peek().ok_or(Error::EOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/test.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | #[derive(Debug, RustcDecodable, RustcEncodable, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:190:37 [INFO] [stdout] | [INFO] [stdout] 190 | let reader = BufReader::new(try!(File::open(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | let mut columns = try!(self.columns()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | if try!(reader.fill_buf()).starts_with(UTF8_BOM) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/columns.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | let col = try!(self.next().ok_or(Error::EOL)); [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/columns.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let i = try!(self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/columns.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | let col = try!(self.peek().ok_or(Error::EOL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/test.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | decodes_to!(decode_char, "a", (char), vec![('a')]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - decodes_to!(decode_char, "a", (char), vec![('a')]); [INFO] [stdout] 163 + decodes_to!(decode_char, "a", char, vec![('a')]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:190:37 [INFO] [stdout] | [INFO] [stdout] 190 | let reader = BufReader::new(try!(File::open(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | let mut columns = try!(self.columns()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 377 | if try!(reader.fill_buf()).starts_with(UTF8_BOM) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn columns(&self) -> Result { [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] 250 | pub fn columns(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn bytes_columns(&self) -> BytesColumns { [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] 259 | pub fn bytes_columns(&self) -> BytesColumns<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Val: Decodable` is not satisfied [INFO] [stdout] --> src/test.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | let rows = rdr.map(|r| r.unwrap().decode().unwrap()) [INFO] [stdout] | ^^^^^^ the trait `Decodable` is not implemented for `Val` [INFO] [stdout] ... [INFO] [stdout] 173 | decodes_to!(decode_opt_val, "1.0", (Option,), vec![(None,)]); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [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] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] = note: required for `Option` to implement `Decodable` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `(Option,)` to implement `Decodable` [INFO] [stdout] note: required by a bound in `Row::decode` [INFO] [stdout] --> src/lib.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn decode(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Row::decode` [INFO] [stdout] = note: this error originates in the macro `decodes_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyEnum: Decodable` is not satisfied [INFO] [stdout] --> src/test.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | let rows = rdr.map(|r| r.unwrap().decode().unwrap()) [INFO] [stdout] | ^^^^^^ the trait `Decodable` is not implemented for `MyEnum` [INFO] [stdout] ... [INFO] [stdout] 180 | / decodes_to!(decode_myenum, "Enum1,Enum1,Enum2", (MyEnum, MyEnum, MyEnum), [INFO] [stdout] 181 | | vec![(MyEnum::Enum1, MyEnum::Enum1, MyEnum::Enum2)]); [INFO] [stdout] | |________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [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] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] = note: required for `(MyEnum, MyEnum, MyEnum)` to implement `Decodable` [INFO] [stdout] note: required by a bound in `Row::decode` [INFO] [stdout] --> src/lib.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn decode(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Row::decode` [INFO] [stdout] = note: this error originates in the macro `decodes_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> benches/bench.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Play: Decodable` is not satisfied [INFO] [stdout] --> benches/bench.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | let _ = row.unwrap().decode::().unwrap(); [INFO] [stdout] | ------ ^^^^ the trait `Decodable` is not implemented for `Play` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [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] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `Row::decode` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn decode(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Row::decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quick-csv` (bench "bench") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quick-csv` (lib test) due to 6 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d85819c0d13ea2ba84ed53bf74b215d9dc0af32d94bf8b8da4a17f5bdc552030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d85819c0d13ea2ba84ed53bf74b215d9dc0af32d94bf8b8da4a17f5bdc552030", kill_on_drop: false }` [INFO] [stdout] d85819c0d13ea2ba84ed53bf74b215d9dc0af32d94bf8b8da4a17f5bdc552030