[INFO] fetching crate sqlib 0.2.6... [INFO] testing sqlib-0.2.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sqlib 0.2.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate sqlib 0.2.6 [INFO] finished tweaking crates.io crate sqlib 0.2.6 [INFO] tweaked toml for crates.io crate sqlib 0.2.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlib 0.2.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8146c83a260e86897f17ae626c3565be25be7d80f2f418ecf99aa808fb23066 [INFO] running `Command { std: "docker" "start" "-a" "f8146c83a260e86897f17ae626c3565be25be7d80f2f418ecf99aa808fb23066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8146c83a260e86897f17ae626c3565be25be7d80f2f418ecf99aa808fb23066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8146c83a260e86897f17ae626c3565be25be7d80f2f418ecf99aa808fb23066", kill_on_drop: false }` [INFO] [stdout] f8146c83a260e86897f17ae626c3565be25be7d80f2f418ecf99aa808fb23066 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e56f7bc3a5e86051eecbce1e5f9983e5a6c2588b20f2db13ba2ac68571e725f [INFO] running `Command { std: "docker" "start" "-a" "5e56f7bc3a5e86051eecbce1e5f9983e5a6c2588b20f2db13ba2ac68571e725f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling sqlib v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/channel.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/channel.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/channel.rs:170:56 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/channel.rs:170:72 [INFO] [stdout] | [INFO] [stdout] 170 | #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/client.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/client.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/client.rs:187:65 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Clone, Default, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/client.rs:187:81 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Clone, Default, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Channel: Encodable` is not satisfied [INFO] [stdout] --> src/channel.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | json::encode(self).unwrap_or_default() [INFO] [stdout] | ------------ ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `Channel` [INFO] [stdout] --> src/channel.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Channel { [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 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] error[E0277]: the trait bound `Channel: Encodable` is not satisfied [INFO] [stdout] --> src/channel.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | json::encode(self.as_ref()).unwrap_or_default() [INFO] [stdout] | ------------ ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `Channel` [INFO] [stdout] --> src/channel.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Channel { [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] error[E0277]: the trait bound `Client: Encodable` is not satisfied [INFO] [stdout] --> src/client.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | json::encode(self).unwrap_or_default() [INFO] [stdout] | ------------ ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `Client` [INFO] [stdout] --> src/client.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Client { [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 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] error[E0277]: the trait bound `ClientList: Encodable` is not satisfied [INFO] [stdout] --> src/client.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | json::encode(self).unwrap_or_default() [INFO] [stdout] | ------------ ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `ClientList` [INFO] [stdout] --> src/client.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct ClientList(Vec); [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 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] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/connection.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(buf.trim_left_matches(char::is_control)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 44 - Ok(buf.trim_left_matches(char::is_control)) [INFO] [stdout] 44 + Ok(buf.trim_start_matches(char::is_control)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 191 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | Error::SQ(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | Error::Other(err.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlib` (lib) due to 12 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e56f7bc3a5e86051eecbce1e5f9983e5a6c2588b20f2db13ba2ac68571e725f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e56f7bc3a5e86051eecbce1e5f9983e5a6c2588b20f2db13ba2ac68571e725f", kill_on_drop: false }` [INFO] [stdout] 5e56f7bc3a5e86051eecbce1e5f9983e5a6c2588b20f2db13ba2ac68571e725f