[INFO] fetching crate interledger-packet 0.4.0... [INFO] checking interledger-packet-0.4.0 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate interledger-packet 0.4.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate interledger-packet 0.4.0 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6003076e7d38e5504e8d98fc229d18fe55678e5d66b55d4f4a86e49bf491ec57 [INFO] running `Command { std: "docker" "start" "-a" "6003076e7d38e5504e8d98fc229d18fe55678e5d66b55d4f4a86e49bf491ec57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6003076e7d38e5504e8d98fc229d18fe55678e5d66b55d4f4a86e49bf491ec57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6003076e7d38e5504e8d98fc229d18fe55678e5d66b55d4f4a86e49bf491ec57", kill_on_drop: false }` [INFO] [stdout] 6003076e7d38e5504e8d98fc229d18fe55678e5d66b55d4f4a86e49bf491ec57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2da8201ca0529abcfa0b7c2821f3037ae774f1c4b49e0e88fed765f46c43bafc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2da8201ca0529abcfa0b7c2821f3037ae774f1c4b49e0e88fed765f46c43bafc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking serde_test v1.0.126 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 152 | Some(&Token::BorrowedStr(_)) => assert_next_token!(self, BorrowedStr(v)), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 153 | Some(&Token::String(_)) => assert_next_token!(self, String(v)), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | _ => assert_next_token!(self, Str(v)), [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 161 | Some(&Token::BorrowedBytes(_)) => assert_next_token!(self, BorrowedBytes(v)), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 162 | Some(&Token::ByteBuf(_)) => assert_next_token!(self, ByteBuf(v)), [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 163 | _ => assert_next_token!(self, Bytes(v)), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:36:76 [INFO] [stdout] | [INFO] [stdout] 36 | assert_next_token!($ser, stringify!($actual), Token::$actual, true); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 386 | Token::TupleVariantEnd => assert_next_token!(self.ser, TupleVariantEnd), [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:36:76 [INFO] [stdout] | [INFO] [stdout] 36 | assert_next_token!($ser, stringify!($actual), Token::$actual, true); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 387 | Token::SeqEnd => assert_next_token!(self.ser, SeqEnd), [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:36:76 [INFO] [stdout] | [INFO] [stdout] 36 | assert_next_token!($ser, stringify!($actual), Token::$actual, true); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 458 | Token::StructVariantEnd => assert_next_token!(self.ser, StructVariantEnd), [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_test-1.0.126/src/ser.rs:36:76 [INFO] [stdout] | [INFO] [stdout] 36 | assert_next_token!($ser, stringify!($actual), Token::$actual, true); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 459 | Token::MapEnd => assert_next_token!(self.ser, MapEnd), [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_next_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking interledger-packet v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "2da8201ca0529abcfa0b7c2821f3037ae774f1c4b49e0e88fed765f46c43bafc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2da8201ca0529abcfa0b7c2821f3037ae774f1c4b49e0e88fed765f46c43bafc", kill_on_drop: false }` [INFO] [stdout] 2da8201ca0529abcfa0b7c2821f3037ae774f1c4b49e0e88fed765f46c43bafc