[INFO] fetching crate agora-lnd-client 0.0.2... [INFO] checking agora-lnd-client-0.0.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate agora-lnd-client 0.0.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate agora-lnd-client 0.0.2 [INFO] finished tweaking crates.io crate agora-lnd-client 0.0.2 [INFO] tweaked toml for crates.io crate agora-lnd-client 0.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate agora-lnd-client 0.0.2 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] Updating crates.io index [INFO] [stderr] Locking 176 packages to latest compatible versions [INFO] [stderr] Adding cradle v0.0.21 (available: v0.2.2) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding hyper-openssl v0.9.2 (available: v0.10.2) [INFO] [stderr] Adding pretty_assertions v0.7.2 (available: v1.4.1) [INFO] [stderr] Adding prost v0.8.0 (available: v0.14.1) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding tonic v0.5.2 (available: v0.14.1) [INFO] [stderr] Adding tonic-build v0.5.2 (available: v0.14.1) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [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] 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] 12c98db7d202efb303c88feb2b53d2a2e24e1b997d6073dff161902cf975985a [INFO] running `Command { std: "docker" "start" "-a" "12c98db7d202efb303c88feb2b53d2a2e24e1b997d6073dff161902cf975985a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12c98db7d202efb303c88feb2b53d2a2e24e1b997d6073dff161902cf975985a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c98db7d202efb303c88feb2b53d2a2e24e1b997d6073dff161902cf975985a", kill_on_drop: false }` [INFO] [stdout] 12c98db7d202efb303c88feb2b53d2a2e24e1b997d6073dff161902cf975985a [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] 0189703f972d9c186a769e11b6ff6c20c4f99a3f5f11481e5a9f5f2ebd1bad06 [INFO] running `Command { std: "docker" "start" "-a" "0189703f972d9c186a769e11b6ff6c20c4f99a3f5f11481e5a9f5f2ebd1bad06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling hyper-openssl v0.9.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking linked_hash_set v0.1.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking cradle v0.0.21 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Compiling tonic-build v0.5.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling agora-lnd-client v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.5.2 [INFO] [stdout] error[E0432]: unresolved import `lnd_test_context` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lnd_test_context::LndTestContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `lnd_test_context` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lnd_test_context`, use `cargo add lnd_test_context` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `fs` in `tokio` [INFO] [stdout] --> src/lib.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | tokio::fs::read(lnd_test_context.invoice_macaroon_path()) [INFO] [stdout] | ^^ could not find `fs` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/lib.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 501 | / cfg_fs! { [INFO] [stdout] 502 | | pub mod fs; [INFO] [stdout] | | ^^ [INFO] [stdout] 503 | | } [INFO] [stdout] | |_- the item is gated behind the `fs` feature [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs; [INFO] [stdout] | [INFO] [stdout] help: if you import `fs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 145 - tokio::fs::read(lnd_test_context.invoice_macaroon_path()) [INFO] [stdout] 145 + fs::read(lnd_test_context.invoice_macaroon_path()) [INFO] [stdout] | [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: could not compile `agora-lnd-client` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0189703f972d9c186a769e11b6ff6c20c4f99a3f5f11481e5a9f5f2ebd1bad06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0189703f972d9c186a769e11b6ff6c20c4f99a3f5f11481e5a9f5f2ebd1bad06", kill_on_drop: false }` [INFO] [stdout] 0189703f972d9c186a769e11b6ff6c20c4f99a3f5f11481e5a9f5f2ebd1bad06