[INFO] fetching crate inet2_derive 0.4.1... [INFO] checking inet2_derive-0.4.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate inet2_derive 0.4.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate inet2_derive 0.4.1 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 inet2_derive 0.4.1 [INFO] finished tweaking crates.io crate inet2_derive 0.4.1 [INFO] tweaked toml for crates.io crate inet2_derive 0.4.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate inet2_derive 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin v0.26.0 [INFO] [stderr] Downloaded bech32 v0.7.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.9.4 [INFO] [stderr] Downloaded client_side_validation v0.3.0 [INFO] [stderr] Downloaded lightning_encoding_derive v0.3.12 [INFO] [stderr] Downloaded amplify_derive v2.4.4 [INFO] [stderr] Downloaded lnpbp v0.3.2 [INFO] [stderr] Downloaded lightning_encoding v0.3.11 [INFO] [stderr] Downloaded amplify v3.0.0 [INFO] [stderr] Downloaded secp256k1-sys v0.4.0 [INFO] [stderr] Downloaded strict_encoding v1.0.6 [INFO] [stderr] Downloaded miniscript v5.0.0 [INFO] [stderr] Downloaded secp256k1 v0.20.1 [INFO] [stderr] Downloaded descriptor-wallet v0.3.5 [INFO] [stderr] Downloaded strict_encoding_derive v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] bd19c99a3805f1ee3fddb42184b77cf7f07f9a17889a3bc9517e023e1d5e852e [INFO] running `Command { std: "docker" "start" "-a" "bd19c99a3805f1ee3fddb42184b77cf7f07f9a17889a3bc9517e023e1d5e852e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd19c99a3805f1ee3fddb42184b77cf7f07f9a17889a3bc9517e023e1d5e852e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd19c99a3805f1ee3fddb42184b77cf7f07f9a17889a3bc9517e023e1d5e852e", kill_on_drop: false }` [INFO] [stdout] bd19c99a3805f1ee3fddb42184b77cf7f07f9a17889a3bc9517e023e1d5e852e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] b674f2352b5a7b59b2d8157c2e50c727db486ba676ddf086de828f47b0211ed8 [INFO] running `Command { std: "docker" "start" "-a" "b674f2352b5a7b59b2d8157c2e50c727db486ba676ddf086de828f47b0211ed8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking bitcoin_hashes v0.9.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking quote v1.0.8 [INFO] [stderr] Compiling stringly_conversions v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling secp256k1-sys v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking secp256k1 v0.20.1 [INFO] [stderr] Compiling amplify_derive v2.4.4 [INFO] [stderr] Checking bitcoin v0.26.0 [INFO] [stderr] Compiling amplify v3.0.0 [INFO] [stderr] Checking inet2_derive v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling strict_encoding_derive v1.0.0 [INFO] [stderr] Compiling lightning_encoding_derive v0.3.12 [INFO] [stderr] Checking miniscript v5.0.0 [INFO] [stderr] Checking strict_encoding v1.0.6 [INFO] [stderr] Checking lightning_encoding v0.3.11 [INFO] [stderr] Checking client_side_validation v0.3.0 [INFO] [stderr] Checking descriptor-wallet v0.3.5 [INFO] [stderr] Checking lnpbp v0.3.2 [INFO] [stdout] error[E0432]: unresolved import `internet2` [INFO] [stdout] --> tests/api_lightning.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use internet2::{CreateUnmarshaller, TypedEnum, Unmarshall}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `internet2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lightning_encoding` [INFO] [stdout] --> tests/api_lightning.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[api(encoding = "lightning")] [INFO] [stdout] 9 | | pub enum Request { [INFO] [stdout] 10 | | #[api(type = 0x0001)] [INFO] [stdout] 11 | | Hello(String), [INFO] [stdout] ... | [INFO] [stdout] 21 | | AddKeys(Vec), [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ use of undeclared crate or module `lightning_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_lightning.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, Api)] [INFO] [stdout] | ^^^ could not find `internet2` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_lightning.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / #[api(type = 0x0001)] [INFO] [stdout] 11 | | Hello(String), [INFO] [stdout] | |_________________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_lightning.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Some attribute [INFO] [stdout] 14 | | #[api(type = 0x0003)] [INFO] [stdout] 15 | | Empty(), [INFO] [stdout] | |___________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_lightning.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[api(type = 0x0005)] [INFO] [stdout] 18 | | NoArgs, [INFO] [stdout] | |__________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_lightning.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / #[api(type = 0x0103)] [INFO] [stdout] 21 | | AddKeys(Vec), [INFO] [stdout] | |____________________________________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `internet2` [INFO] [stdout] --> tests/api_strict.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use internet2::{CreateUnmarshaller, TypedEnum, Unmarshall}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `internet2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_strict.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, Api)] [INFO] [stdout] | ^^^ could not find `internet2` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_strict.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / #[api(type = 0x0001)] [INFO] [stdout] 12 | | Hello(String), [INFO] [stdout] | |_________________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_strict.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// Some attribute [INFO] [stdout] 15 | | #[api(type = 0x0003)] [INFO] [stdout] 16 | | Empty(), [INFO] [stdout] | |___________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_strict.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / #[api(type = 0x0005)] [INFO] [stdout] 19 | | NoArgs, [INFO] [stdout] | |__________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_strict.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / #[api(type = 0x0103)] [INFO] [stdout] 22 | | AddKeys(Vec), [INFO] [stdout] | |____________________________________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `internet2` [INFO] [stdout] --> examples/peer_api.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use internet2::{TypeId, TypedEnum}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `internet2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lightning_encoding` [INFO] [stdout] --> examples/peer_api.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / #[api(encoding = "lightning")] [INFO] [stdout] 8 | | #[non_exhaustive] [INFO] [stdout] 9 | | pub enum Message { [INFO] [stdout] 10 | | #[api(type = 0x0001)] [INFO] [stdout] ... | [INFO] [stdout] 21 | | AddKeys(Vec), [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ use of undeclared crate or module `lightning_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> examples/peer_api.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, Api)] [INFO] [stdout] | ^^^ could not find `internet2` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> examples/peer_api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / #[api(type = 0x0001)] [INFO] [stdout] 11 | | Hello(String), [INFO] [stdout] | |_________________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> examples/peer_api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Some attribute [INFO] [stdout] 14 | | #[api(type = 0x0003)] [INFO] [stdout] 15 | | Empty(), [INFO] [stdout] | |___________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> examples/peer_api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[api(type = 0x0005)] [INFO] [stdout] 18 | | NoArgs, [INFO] [stdout] | |__________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> examples/peer_api.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / #[api(type = 0x0103)] [INFO] [stdout] 21 | | AddKeys(Vec), [INFO] [stdout] | |____________________________________^ could not find `internet2` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lightning_encoding` [INFO] [stdout] --> tests/api_lightning.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[api(encoding = "lightning")] [INFO] [stdout] 9 | | pub enum Request { [INFO] [stdout] 10 | | #[api(type = 0x0001)] [INFO] [stdout] 11 | | Hello(String), [INFO] [stdout] ... | [INFO] [stdout] 21 | | AddKeys(Vec), [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ use of undeclared crate or module `lightning_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_lightning.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, Api)] [INFO] [stdout] | ^^^ not found in `internet2` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::any::TypeId; [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> tests/api_strict.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, Api)] [INFO] [stdout] | ^^^ not found in `internet2` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::any::TypeId; [INFO] [stdout] | [INFO] [stdout] 4 | use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lightning_encoding` [INFO] [stdout] --> examples/peer_api.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / #[api(encoding = "lightning")] [INFO] [stdout] 8 | | #[non_exhaustive] [INFO] [stdout] 9 | | pub enum Message { [INFO] [stdout] 10 | | #[api(type = 0x0001)] [INFO] [stdout] ... | [INFO] [stdout] 21 | | AddKeys(Vec), [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ use of undeclared crate or module `lightning_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inet2_derive` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `internet2` in the list of imported crates [INFO] [stdout] --> examples/peer_api.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, Api)] [INFO] [stdout] | ^^^ not found in `internet2` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use core::any::TypeId; [INFO] [stdout] | [INFO] [stdout] 7 | use std::any::TypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> examples/peer_api.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b674f2352b5a7b59b2d8157c2e50c727db486ba676ddf086de828f47b0211ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b674f2352b5a7b59b2d8157c2e50c727db486ba676ddf086de828f47b0211ed8", kill_on_drop: false }` [INFO] [stdout] b674f2352b5a7b59b2d8157c2e50c727db486ba676ddf086de828f47b0211ed8