[INFO] fetching crate interledger-packet 0.4.0... [INFO] checking interledger-packet-0.4.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate interledger-packet 0.4.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate interledger-packet 0.4.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate interledger-packet 0.4.0 [INFO] finished tweaking crates.io crate interledger-packet 0.4.0 [INFO] tweaked toml for crates.io crate interledger-packet 0.4.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 907e84e76b2ebe462e066d1722d038ec103fa9d66d48cd93b3999e5c5b1868f7 [INFO] running `Command { std: "docker" "start" "-a" "907e84e76b2ebe462e066d1722d038ec103fa9d66d48cd93b3999e5c5b1868f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "907e84e76b2ebe462e066d1722d038ec103fa9d66d48cd93b3999e5c5b1868f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "907e84e76b2ebe462e066d1722d038ec103fa9d66d48cd93b3999e5c5b1868f7", kill_on_drop: false }` [INFO] [stdout] 907e84e76b2ebe462e066d1722d038ec103fa9d66d48cd93b3999e5c5b1868f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e449ea76d18286d7846030a78a1b990c1583ae64a8d56732829dab49bfbc1ff7 [INFO] running `Command { std: "docker" "start" "-a" "e449ea76d18286d7846030a78a1b990c1583ae64a8d56732829dab49bfbc1ff7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking serde_test v1.0.126 [INFO] [stderr] Checking interledger-packet v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/packet.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | &hex::encode(self.execution_condition()), [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `hex` [INFO] [stdout] --> src/packet.rs:366:41 [INFO] [stdout] | [INFO] [stdout] 366 | .field("fulfillment", &hex::encode(self.fulfillment())) [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/address.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking csv v1.1.6 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/packet.rs:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | let expires_at = SystemTime::from(expires_at); [INFO] [stdout] | ^^^^^^^^^^ expected struct `SystemTime`, found struct `DateTime` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SystemTime` [INFO] [stdout] found struct `DateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DateTime: From` is not satisfied [INFO] [stdout] --> src/packet.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | DateTime::::from(expires_at).format(INTERLEDGER_TIMESTAMP_FORMAT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `DateTime` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From>> [INFO] [stdout] as From>> [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `format` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/packet.rs:196:47 [INFO] [stdout] | [INFO] [stdout] 196 | DateTime::::from(expires_at).format(INTERLEDGER_TIMESTAMP_FORMAT), [INFO] [stdout] | ^^^^^^ method not found in `DateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DateTime: From` is not satisfied [INFO] [stdout] --> src/packet.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | &DateTime::::from(self.expires_at()).to_rfc3339(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `DateTime` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From>> [INFO] [stdout] as From>> [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_rfc3339` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/packet.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | &DateTime::::from(self.expires_at()).to_rfc3339(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `DateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DateTime: From` is not satisfied [INFO] [stdout] --> src/packet.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | DateTime::::from(self.expires_at).format(INTERLEDGER_TIMESTAMP_FORMAT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `DateTime` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From>> [INFO] [stdout] as From>> [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `format` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/packet.rs:277:52 [INFO] [stdout] | [INFO] [stdout] 277 | DateTime::::from(self.expires_at).format(INTERLEDGER_TIMESTAMP_FORMAT), [INFO] [stdout] | ^^^^^^ method not found in `DateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | display("Error {}", err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `chrono::ParseError: std::error::Error` is not satisfied [INFO] [stdout] --> src/errors.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | cause(err) [INFO] [stdout] | ^^^ the trait `std::error::Error` is not implemented for `chrono::ParseError` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `interledger-packet` due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e449ea76d18286d7846030a78a1b990c1583ae64a8d56732829dab49bfbc1ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e449ea76d18286d7846030a78a1b990c1583ae64a8d56732829dab49bfbc1ff7", kill_on_drop: false }` [INFO] [stdout] e449ea76d18286d7846030a78a1b990c1583ae64a8d56732829dab49bfbc1ff7