[INFO] fetching crate sway-core 0.66.5... [INFO] testing sway-core-0.66.5 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate sway-core 0.66.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate sway-core 0.66.5 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sway-core 0.66.5 [INFO] finished tweaking crates.io crate sway-core 0.66.5 [INFO] tweaked toml for crates.io crate sway-core 0.66.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 328 packages to latest compatible versions [INFO] [stderr] Adding fuel-abi-types v0.7.0 (available: v0.8.0) [INFO] [stderr] Adding fuel-vm v0.58.2 (available: v0.59.1) [INFO] [stderr] Adding hashbrown v0.14.5 (available: v0.15.2) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.0) [INFO] [stderr] Adding sysinfo v0.29.11 (available: v0.33.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.8) [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35eddf31e02aba07d43a5397fc4a0516cc169cfe5e7679f81f942c94416bfc93 [INFO] running `Command { std: "docker" "start" "-a" "35eddf31e02aba07d43a5397fc4a0516cc169cfe5e7679f81f942c94416bfc93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35eddf31e02aba07d43a5397fc4a0516cc169cfe5e7679f81f942c94416bfc93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35eddf31e02aba07d43a5397fc4a0516cc169cfe5e7679f81f942c94416bfc93", kill_on_drop: false }` [INFO] [stdout] 35eddf31e02aba07d43a5397fc4a0516cc169cfe5e7679f81f942c94416bfc93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eb7083eab3a57bae755188825549cb679202284ba7dc9810b4d118fe1192349 [INFO] running `Command { std: "docker" "start" "-a" "7eb7083eab3a57bae755188825549cb679202284ba7dc9810b4d118fe1192349", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling fuel-storage v0.58.2 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.8 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ruzstd v0.7.3 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling in_definite v1.0.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling ethnum v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling vec1 v1.12.1 [INFO] [stderr] Compiling peg v0.8.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling fuel-derive v0.58.2 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v2.0.8 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling extension-trait v1.0.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling filecheck v0.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling sway-ir-macros v0.66.5 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling sway-features v0.66.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling graph-cycles v0.1.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling fuel-types v0.58.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling fuel-merkle v0.58.2 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling sway-utils v0.66.5 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling fuel-asm v0.58.2 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling fuel-crypto v0.58.2 [INFO] [stderr] Compiling fuel-abi-types v0.7.0 [INFO] [stderr] Compiling prettydiff v0.7.0 [INFO] [stderr] Compiling fuel-etk-ops v0.3.1-dev [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling fuel-ethabi v18.0.0 [INFO] [stderr] Compiling fuel-tx v0.58.2 [INFO] [stderr] Compiling fuel-etk-asm v0.3.1-dev [INFO] [stderr] Compiling sway-types v0.66.5 [INFO] [stderr] Compiling fuel-vm v0.58.2 [INFO] [stderr] Compiling sway-error v0.66.5 [INFO] [stderr] Compiling sway-ir v0.66.5 [INFO] [stderr] Compiling sway-ast v0.66.5 [INFO] [stderr] Compiling sway-parse v0.66.5 [INFO] [stderr] Compiling sway-core v0.66.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn contract_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 126 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn contract_supertrait_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 136 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/program.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 431 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/asm_lang/mod.rs:869:5 [INFO] [stdout] | [INFO] [stdout] 828 | / fn four_regs( [INFO] [stdout] 829 | | handler: &Handler, [INFO] [stdout] 830 | | args: &[VirtualRegister], [INFO] [stdout] 831 | | immediate: &Option, [INFO] [stdout] ... | [INFO] [stdout] 840 | | ErrorEmitted, [INFO] [stdout] 841 | | > { [INFO] [stdout] | |_- move the `impl` block outside of this function `four_regs` [INFO] [stdout] ... [INFO] [stdout] 869 | impl ConstantRegister { [INFO] [stdout] | ^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | `ConstantRegister` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "7eb7083eab3a57bae755188825549cb679202284ba7dc9810b4d118fe1192349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb7083eab3a57bae755188825549cb679202284ba7dc9810b4d118fe1192349", kill_on_drop: false }` [INFO] [stdout] 7eb7083eab3a57bae755188825549cb679202284ba7dc9810b4d118fe1192349 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b49bef6dbb277155a81eef2347661e2cac54d1c1bb41cd895383e488e1240298 [INFO] running `Command { std: "docker" "start" "-a" "b49bef6dbb277155a81eef2347661e2cac54d1c1bb41cd895383e488e1240298", kill_on_drop: false }` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn contract_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 126 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sway-core v0.66.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn contract_supertrait_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 136 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/program.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 431 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/asm_lang/mod.rs:869:5 [INFO] [stdout] | [INFO] [stdout] 828 | / fn four_regs( [INFO] [stdout] 829 | | handler: &Handler, [INFO] [stdout] 830 | | args: &[VirtualRegister], [INFO] [stdout] 831 | | immediate: &Option, [INFO] [stdout] ... | [INFO] [stdout] 840 | | ErrorEmitted, [INFO] [stdout] 841 | | > { [INFO] [stdout] | |_- move the `impl` block outside of this function `four_regs` [INFO] [stdout] ... [INFO] [stdout] 869 | impl ConstantRegister { [INFO] [stdout] | ^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | `ConstantRegister` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn contract_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 126 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/module.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn contract_supertrait_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 136 | ) -> impl '_ + Iterator> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/language/ty/program.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 431 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/asm_lang/mod.rs:869:5 [INFO] [stdout] | [INFO] [stdout] 828 | / fn four_regs( [INFO] [stdout] 829 | | handler: &Handler, [INFO] [stdout] 830 | | args: &[VirtualRegister], [INFO] [stdout] 831 | | immediate: &Option, [INFO] [stdout] ... | [INFO] [stdout] 840 | | ErrorEmitted, [INFO] [stdout] 841 | | > { [INFO] [stdout] | |_- move the `impl` block outside of this function `four_regs` [INFO] [stdout] ... [INFO] [stdout] 869 | impl ConstantRegister { [INFO] [stdout] | ^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | `ConstantRegister` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 25.97s [INFO] running `Command { std: "docker" "inspect" "b49bef6dbb277155a81eef2347661e2cac54d1c1bb41cd895383e488e1240298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49bef6dbb277155a81eef2347661e2cac54d1c1bb41cd895383e488e1240298", kill_on_drop: false }` [INFO] [stdout] b49bef6dbb277155a81eef2347661e2cac54d1c1bb41cd895383e488e1240298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 440bf88de73aa67ebc4af4690a256ff2038e84518e888b463686a40bd7f29a6d [INFO] running `Command { std: "docker" "start" "-a" "440bf88de73aa67ebc4af4690a256ff2038e84518e888b463686a40bd7f29a6d", kill_on_drop: false }` [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/language/ty/module.rs:106:15 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stderr] | -- lifetime `'b` declared here [INFO] [stderr] ... [INFO] [stderr] 106 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/language/ty/module.rs:126:15 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn contract_fns<'a: 'b, 'b>( [INFO] [stderr] | -- lifetime `'b` declared here [INFO] [stderr] ... [INFO] [stderr] 126 | ) -> impl '_ + Iterator> { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/language/ty/module.rs:136:15 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn contract_supertrait_fns<'a: 'b, 'b>( [INFO] [stderr] | -- lifetime `'b` declared here [INFO] [stderr] ... [INFO] [stderr] 136 | ) -> impl '_ + Iterator> { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/language/ty/program.rs:431:15 [INFO] [stderr] | [INFO] [stderr] 428 | pub fn test_fns<'a: 'b, 'b>( [INFO] [stderr] | -- lifetime `'b` declared here [INFO] [stderr] ... [INFO] [stderr] 431 | ) -> impl '_ + Iterator, DeclRefFunction)> { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'b` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/asm_lang/mod.rs:869:5 [INFO] [stderr] | [INFO] [stderr] 828 | / fn four_regs( [INFO] [stderr] 829 | | handler: &Handler, [INFO] [stderr] 830 | | args: &[VirtualRegister], [INFO] [stderr] 831 | | immediate: &Option, [INFO] [stderr] ... | [INFO] [stderr] 840 | | ErrorEmitted, [INFO] [stderr] 841 | | > { [INFO] [stderr] | |_- move the `impl` block outside of this function `four_regs` [INFO] [stderr] ... [INFO] [stderr] 869 | impl ConstantRegister { [INFO] [stderr] | ^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | `ConstantRegister` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sway-core` (lib) generated 5 warnings [INFO] [stderr] warning: `sway-core` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sway_core-8494fad90fa9ce89) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test semantic_analysis::ast_node::declaration::function::test_function_selector_behavior ... ok [INFO] [stdout] test build_config::test::test_root_from_file_name_and_manifest_path_contains_dot ... ok [INFO] [stdout] test semantic_analysis::ast_node::expression::typed_expression::tests::test_array_type_check_empty ... ok [INFO] [stdout] test semantic_analysis::ast_node::expression::typed_expression::tests::test_array_type_check_non_homogeneous_0 ... ok [INFO] [stdout] test semantic_analysis::ast_node::expression::typed_expression::tests::test_array_type_check_bad_count ... ok [INFO] [stdout] test test_parenthesized ... ok [INFO] [stdout] test build_config::test::test_root_from_file_name_and_manifest_path ... ok [INFO] [stdout] test test_basic_prog ... ok [INFO] [stdout] test semantic_analysis::ast_node::expression::typed_expression::tests::test_array_type_check_non_homogeneous_1 ... ok [INFO] [stdout] test type_system::basic_numeric_unknown ... ok [INFO] [stdout] test test_parser_recovery ... ok [INFO] [stdout] test test_unary_ordering ... ok [INFO] [stdout] test type_system::generic_enum_resolution ... ok [INFO] [stdout] test type_system::unify_numerics ... ok [INFO] [stdout] test type_system::unify_numerics_2 ... ok [INFO] [stdout] test ir_generation::const_eval::tests::const_eval_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests sway_core [INFO] [stderr] error: DefId(0:6703 ~ sway_core[90e2]::semantic_analysis::ast_node::expression::match_expression::analysis::match_pattern_variables::collect_duplicate_match_pattern_variables) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name sway_core --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps -L native=/opt/rustwide/target/debug/build/secp256k1-sys-be4e8195e1425c5e/out '--deny=clippy::iter_over_hash_type' --extern clap=/opt/rustwide/target/debug/deps/libclap-b8d6395fa66c01e2.rlib --extern derivative=/opt/rustwide/target/debug/deps/libderivative-ca0d445df59a3594.so --extern dirs=/opt/rustwide/target/debug/deps/libdirs-1325692383cc6fb1.rlib --extern either=/opt/rustwide/target/debug/deps/libeither-0d03427b61e42fdc.rlib --extern fuel_abi_types=/opt/rustwide/target/debug/deps/libfuel_abi_types-0ae1828f9d8de507.rlib --extern ethabi=/opt/rustwide/target/debug/deps/libfuel_ethabi-d1cc6bea1eb254ce.rlib --extern etk_asm=/opt/rustwide/target/debug/deps/libfuel_etk_asm-7b8a41b85930484b.rlib --extern etk_ops=/opt/rustwide/target/debug/deps/libfuel_etk_ops-ccc539d88aa833f6.rlib --extern fuel_vm=/opt/rustwide/target/debug/deps/libfuel_vm-1a741b5729c1ecf3.rlib --extern gimli=/opt/rustwide/target/debug/deps/libgimli-cbd3b0b714dc4076.rlib --extern graph_cycles=/opt/rustwide/target/debug/deps/libgraph_cycles-ae35a03b98820cd5.rlib --extern hashbrown=/opt/rustwide/target/debug/deps/libhashbrown-a7c6ddc8ebe36844.rlib --extern im=/opt/rustwide/target/debug/deps/libim-62d31ce0a63d7130.rlib --extern indexmap=/opt/rustwide/target/debug/deps/libindexmap-e8fab2b689460d58.rlib --extern itertools=/opt/rustwide/target/debug/deps/libitertools-e8a614c1543b663b.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-b3603208c0de2608.rlib --extern object=/opt/rustwide/target/debug/deps/libobject-c120f9feed775e1e.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-962de9da014f886a.rlib --extern paste=/opt/rustwide/target/debug/deps/libpaste-a7d55195f43d4871.so --extern pest=/opt/rustwide/target/debug/deps/libpest-796fca81344b6a02.rlib --extern pest_derive=/opt/rustwide/target/debug/deps/libpest_derive-b6f5c6445b48ec5b.so --extern petgraph=/opt/rustwide/target/debug/deps/libpetgraph-ab1d3c2d4a4d1bfa.rlib --extern rustc_hash=/opt/rustwide/target/debug/deps/librustc_hash-5a527483989b35a3.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-222cb63cc8d7f730.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-793031fcef0adfe5.rlib --extern sha2=/opt/rustwide/target/debug/deps/libsha2-198e33cec32f11f3.rlib --extern strum=/opt/rustwide/target/debug/deps/libstrum-e713ccc99a9c16b1.rlib --extern sway_ast=/opt/rustwide/target/debug/deps/libsway_ast-52e813b86161f644.rlib --extern sway_core=/opt/rustwide/target/debug/deps/libsway_core-31cb484f60f2b1f8.rlib --extern sway_error=/opt/rustwide/target/debug/deps/libsway_error-73aaff91a871aade.rlib --extern sway_features=/opt/rustwide/target/debug/deps/libsway_features-4828e5f56bc24419.rlib --extern sway_ir=/opt/rustwide/target/debug/deps/libsway_ir-93ab6cb4460ac317.rlib --extern sway_parse=/opt/rustwide/target/debug/deps/libsway_parse-adda219f7aa631b6.rlib --extern sway_types=/opt/rustwide/target/debug/deps/libsway_types-6cf8ff3a8090cf1a.rlib --extern sway_utils=/opt/rustwide/target/debug/deps/libsway_utils-5e73d098c10a5cc3.rlib --extern sysinfo=/opt/rustwide/target/debug/deps/libsysinfo-d46225176b0e5f50.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-62fc90734175809f.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-92ec28fc339dd21d.rlib --extern uint=/opt/rustwide/target/debug/deps/libuint-fc6c6fee4037d728.rlib --extern vec1=/opt/rustwide/target/debug/deps/libvec1-1f7cf0e9716ed6bd.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("hex"))' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "440bf88de73aa67ebc4af4690a256ff2038e84518e888b463686a40bd7f29a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440bf88de73aa67ebc4af4690a256ff2038e84518e888b463686a40bd7f29a6d", kill_on_drop: false }` [INFO] [stdout] 440bf88de73aa67ebc4af4690a256ff2038e84518e888b463686a40bd7f29a6d