[INFO] fetching crate sqlib 0.2.6... [INFO] building sqlib-0.2.6 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate sqlib 0.2.6 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlib 0.2.6 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 943a417dc0d12b7323fac9d809aaaa5c0f81f2deae9d23974497b2438125ac42 [INFO] running `Command { std: "docker" "start" "-a" "943a417dc0d12b7323fac9d809aaaa5c0f81f2deae9d23974497b2438125ac42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "943a417dc0d12b7323fac9d809aaaa5c0f81f2deae9d23974497b2438125ac42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943a417dc0d12b7323fac9d809aaaa5c0f81f2deae9d23974497b2438125ac42", kill_on_drop: false }` [INFO] [stdout] 943a417dc0d12b7323fac9d809aaaa5c0f81f2deae9d23974497b2438125ac42 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9c6c3157a910179d5bcdb260052b4f311aa1f2922b0b79f352648e9ab7bb2df [INFO] running `Command { std: "docker" "start" "-a" "b9c6c3157a910179d5bcdb260052b4f311aa1f2922b0b79f352648e9ab7bb2df", 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" "b9c6c3157a910179d5bcdb260052b4f311aa1f2922b0b79f352648e9ab7bb2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c6c3157a910179d5bcdb260052b4f311aa1f2922b0b79f352648e9ab7bb2df", kill_on_drop: false }` [INFO] [stdout] b9c6c3157a910179d5bcdb260052b4f311aa1f2922b0b79f352648e9ab7bb2df