[INFO] cloning repository https://github.com/ashuralyk/knside-out-driver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashuralyk/knside-out-driver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashuralyk%2Fknside-out-driver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashuralyk%2Fknside-out-driver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55f54b33139441ec2f985afbbb4d37e6e0860b22 [INFO] checking ashuralyk/knside-out-driver against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashuralyk%2Fknside-out-driver" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashuralyk/knside-out-driver on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ashuralyk/knside-out-driver [INFO] finished tweaking git repo https://github.com/ashuralyk/knside-out-driver [INFO] tweaked toml for git repo https://github.com/ashuralyk/knside-out-driver written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ashuralyk/knside-out-driver already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e25201200b0ab41a9cc6250153ce0204d2a3762b3161a8177ec3789ea1cf11e [INFO] running `Command { std: "docker" "start" "-a" "5e25201200b0ab41a9cc6250153ce0204d2a3762b3161a8177ec3789ea1cf11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e25201200b0ab41a9cc6250153ce0204d2a3762b3161a8177ec3789ea1cf11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e25201200b0ab41a9cc6250153ce0204d2a3762b3161a8177ec3789ea1cf11e", kill_on_drop: false }` [INFO] [stdout] 5e25201200b0ab41a9cc6250153ce0204d2a3762b3161a8177ec3789ea1cf11e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e125fa0c8ca01955a5f75231183f755c1f9bd849b7e00aaf82c1ae177bcf851 [INFO] running `Command { std: "docker" "start" "-a" "5e125fa0c8ca01955a5f75231183f755c1f9bd849b7e00aaf82c1ae177bcf851", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Checking lru v0.7.8 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking ckb-channel v0.104.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling luajit-src v210.4.0+resty124ff8d [INFO] [stderr] Compiling lua-src v544.0.1 [INFO] [stderr] Compiling includedir v0.6.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling erased-serde v0.3.21 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling mlua v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicase v2.6.0 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Compiling ckb-hash v0.104.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking ckb-hash v0.101.8 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking clap v3.2.15 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Compiling includedir_codegen v0.6.0 [INFO] [stderr] Compiling ckb-system-scripts v0.5.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking globset v0.4.9 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling numext-constructor v0.1.6 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Checking ckb-occupied-capacity-core v0.104.0 [INFO] [stderr] Checking numext-fixed-uint-core v0.1.6 [INFO] [stderr] Checking ckb-fixed-hash-core v0.104.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking beef v0.5.2 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking molecule v0.7.3 [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.104.0 [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.104.0 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking jsonrpsee-types v0.15.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking ckb-occupied-capacity v0.104.0 [INFO] [stderr] Compiling ckb-error v0.104.0 [INFO] [stderr] Checking ckb-fixed-hash v0.104.0 [INFO] [stderr] Checking ckb-crypto v0.104.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.15.1 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Compiling numext-fixed-uint-hack v0.1.6 [INFO] [stderr] Checking numext-fixed-uint v0.1.6 [INFO] [stderr] Compiling ckb-rational v0.104.0 [INFO] [stderr] Checking ckb-types v0.104.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking jsonrpsee-core v0.15.1 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking jsonrpsee-http-server v0.15.1 [INFO] [stderr] Checking jsonrpsee-http-client v0.15.1 [INFO] [stderr] Checking jsonrpsee v0.15.1 [INFO] [stderr] Checking ckb-jsonrpc-types v0.104.0 [INFO] [stderr] Checking ckb-dao-utils v0.104.0 [INFO] [stderr] Checking ckb-traits v0.104.0 [INFO] [stderr] Compiling ckb-resource v0.104.0 [INFO] [stderr] Checking ckb-sdk v1.1.0 [INFO] [stderr] Checking ko-protocol v0.1.0 (/opt/rustwide/workdir/protocol) [INFO] [stderr] Checking ko-rpc-client v0.1.0 (/opt/rustwide/workdir/rpc/client) [INFO] [stderr] Checking ko-context-executor v0.1.0 (/opt/rustwide/workdir/context/executor) [INFO] [stderr] Checking ko-context-driver v0.1.0 (/opt/rustwide/workdir/context/driver) [INFO] [stderr] Checking ko-rpc-server v0.1.0 (/opt/rustwide/workdir/rpc/server) [INFO] [stderr] Checking ko-backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stderr] Checking ko-config v0.1.0 (/opt/rustwide/workdir/config) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> rpc/client/src/client.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_transaction(&self, hash: &H256) -> RPC> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 111 | self.get_transaction(hash).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> rpc/client/src/client.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_transaction(&self, hash: &H256) -> RPC> { [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] 111 | self.get_transaction(hash).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> rpc/client/src/client.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_transaction(&self, hash: &H256) -> RPC> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 111 | self.get_transaction(hash).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> rpc/client/src/client.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_transaction(&self, hash: &H256) -> RPC> { [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] 111 | self.get_transaction(hash).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> rpc/client/src/client.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_txs_by_hashes(&self, hashes: Vec) -> RPC>> { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 146 | let task = self.get_transaction(&hash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `hash` does not live long enough [INFO] [stdout] --> rpc/client/src/client.rs:146:45 [INFO] [stdout] | [INFO] [stdout] 145 | for hash in hashes { [INFO] [stdout] | ---- binding `hash` declared here [INFO] [stdout] 146 | let task = self.get_transaction(&hash); [INFO] [stdout] | ---------------------^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `hash` is borrowed for `'static` [INFO] [stdout] 147 | list.push(tokio::spawn(task)); [INFO] [stdout] 148 | } [INFO] [stdout] | - `hash` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> rpc/client/src/client.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_txs_by_hashes(&self, hashes: Vec) -> RPC>> { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 146 | let task = self.get_transaction(&hash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `hash` does not live long enough [INFO] [stdout] --> rpc/client/src/client.rs:146:45 [INFO] [stdout] | [INFO] [stdout] 145 | for hash in hashes { [INFO] [stdout] | ---- binding `hash` declared here [INFO] [stdout] 146 | let task = self.get_transaction(&hash); [INFO] [stdout] | ---------------------^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `hash` is borrowed for `'static` [INFO] [stdout] 147 | list.push(tokio::spawn(task)); [INFO] [stdout] 148 | } [INFO] [stdout] | - `hash` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ko-rpc-client` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ko-rpc-client` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "5e125fa0c8ca01955a5f75231183f755c1f9bd849b7e00aaf82c1ae177bcf851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e125fa0c8ca01955a5f75231183f755c1f9bd849b7e00aaf82c1ae177bcf851", kill_on_drop: false }` [INFO] [stdout] 5e125fa0c8ca01955a5f75231183f755c1f9bd849b7e00aaf82c1ae177bcf851