[INFO] fetching crate gerrit-rust 0.1.24... [INFO] checking gerrit-rust-0.1.24 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate gerrit-rust 0.1.24 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate gerrit-rust 0.1.24 [INFO] finished tweaking crates.io crate gerrit-rust 0.1.24 [INFO] tweaked toml for crates.io crate gerrit-rust 0.1.24 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gerrit-rust 0.1.24 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 117 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.45) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.8) [INFO] [stderr] Adding git2 v0.6.11 (available: v0.20.2) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.2) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [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: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/bin/changes.rs [INFO] [stderr] * src/bin/topic.rs [INFO] [stderr] * src/bin/gerritapi.rs [INFO] [stderr] * src/bin/config.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 84029778d720dcfe1d37313353682832b36c844cc6aa1c21e93e951bc724a88a [INFO] running `Command { std: "docker" "start" "-a" "84029778d720dcfe1d37313353682832b36c844cc6aa1c21e93e951bc724a88a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84029778d720dcfe1d37313353682832b36c844cc6aa1c21e93e951bc724a88a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84029778d720dcfe1d37313353682832b36c844cc6aa1c21e93e951bc724a88a", kill_on_drop: false }` [INFO] [stdout] 84029778d720dcfe1d37313353682832b36c844cc6aa1c21e93e951bc724a88a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9306764c6865c53bb5324b1120b4b0334755fa3cbc68b0856144f209f3f9ebd0 [INFO] running `Command { std: "docker" "start" "-a" "9306764c6865c53bb5324b1120b4b0334755fa3cbc68b0856144f209f3f9ebd0", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/bin/changes.rs [INFO] [stderr] * src/bin/topic.rs [INFO] [stderr] * src/bin/gerritapi.rs [INFO] [stderr] * src/bin/config.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling gerrit-rust v0.1.24 (/opt/rustwide/workdir) [INFO] [stderr] Checking netrc v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking toml-config v0.4.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking gron v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking git2 v0.6.11 [INFO] [stderr] Checking libgerrit v0.2.8 [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/bin/config.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/bin/config.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let cf = try!(ConfigFile::discover(".", ".ggr.conf")); [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/bin/config.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | try!(writeln!(f, "* url ......... : {api}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | try!(writeln!(f, " user/pass ... : from .netrc file")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | let cwd = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/topic.rs:1124:27 [INFO] [stdout] | [INFO] [stdout] 1124 | let output_checkout = try!(Command::new("git") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: Encodable` is not satisfied [INFO] [stdout] --> src/bin/config.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | let config: Config = toml_config::ConfigFactory::load(cf.file.path().as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `config::Config` [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 76 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-config-0.4.0/src/lib.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: Decodable` is not satisfied [INFO] [stdout] --> src/bin/config.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | let config: Config = toml_config::ConfigFactory::load(cf.file.path().as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `config::Config` [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 `ConfigFactory::load` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-config-0.4.0/src/lib.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/bin/config.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/bin/config.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let cf = try!(ConfigFile::discover(".", ".ggr.conf")); [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/bin/config.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | try!(writeln!(f, "* url ......... : {api}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | try!(writeln!(f, " user/pass ... : from .netrc file")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | let cwd = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/topic.rs:1124:27 [INFO] [stdout] | [INFO] [stdout] 1124 | let output_checkout = try!(Command::new("git") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: Encodable` is not satisfied [INFO] [stdout] --> src/bin/config.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | let config: Config = toml_config::ConfigFactory::load(cf.file.path().as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `config::Config` [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 76 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-config-0.4.0/src/lib.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: Decodable` is not satisfied [INFO] [stdout] --> src/bin/config.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | let config: Config = toml_config::ConfigFactory::load(cf.file.path().as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `config::Config` [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 `ConfigFactory::load` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-config-0.4.0/src/lib.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/bin/gerrit-rust.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(cause) = e.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/bin/gerrit-rust.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(cause) = e.cause() { [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 `gerrit-rust` (bin "gerrit-rust" test) due to 4 previous errors; 8 warnings emitted [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 `gerrit-rust` (bin "gerrit-rust") due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9306764c6865c53bb5324b1120b4b0334755fa3cbc68b0856144f209f3f9ebd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9306764c6865c53bb5324b1120b4b0334755fa3cbc68b0856144f209f3f9ebd0", kill_on_drop: false }` [INFO] [stdout] 9306764c6865c53bb5324b1120b4b0334755fa3cbc68b0856144f209f3f9ebd0