[INFO] fetching crate edlc_codegen_cranelift 0.1.1... [INFO] checking edlc_codegen_cranelift-0.1.1 against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945 [INFO] extracting crate edlc_codegen_cranelift 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate edlc_codegen_cranelift 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate edlc_codegen_cranelift 0.1.1 [INFO] tweaked toml for crates.io crate edlc_codegen_cranelift 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate edlc_codegen_cranelift 0.1.1 on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate edlc_codegen_cranelift 0.1.1 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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded edlc_analysis v0.1.1 [INFO] [stderr] Downloaded clap v4.5.44 [INFO] [stderr] Downloaded edlc_docs v0.1.1 [INFO] [stderr] Downloaded servo_arc v0.4.1 [INFO] [stderr] Downloaded selectors v0.30.0 [INFO] [stderr] Downloaded css-inline v0.17.0 [INFO] [stderr] Downloaded cranelift-native v0.123.2 [INFO] [stderr] Downloaded lru v0.16.0 [INFO] [stderr] Downloaded wasmtime-internal-math v36.0.2 [INFO] [stderr] Downloaded cranelift v0.123.2 [INFO] [stderr] Downloaded cranelift-bitset v0.123.2 [INFO] [stderr] Downloaded cranelift-control v0.123.2 [INFO] [stderr] Downloaded wasmtime-internal-jit-icache-coherence v36.0.2 [INFO] [stderr] Downloaded build_html v2.6.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.123.2 [INFO] [stderr] Downloaded cranelift-entity v0.123.2 [INFO] [stderr] Downloaded cranelift-srcgen v0.123.2 [INFO] [stderr] Downloaded cranelift-module v0.123.2 [INFO] [stderr] Downloaded cranelift-bforest v0.123.2 [INFO] [stderr] Downloaded region v3.0.2 [INFO] [stderr] Downloaded memmap2 v0.2.3 [INFO] [stderr] Downloaded cranelift-assembler-x64 v0.123.2 [INFO] [stderr] Downloaded cranelift-jit v0.123.2 [INFO] [stderr] Downloaded cranelift-frontend v0.123.2 [INFO] [stderr] Downloaded cranelift-assembler-x64-meta v0.123.2 [INFO] [stderr] Downloaded cranelift-isle v0.123.2 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.123.2 [INFO] [stderr] Downloaded libm v0.2.13 [INFO] [stderr] Downloaded regalloc2 v0.12.2 [INFO] [stderr] Downloaded edlc_core v0.1.1 [INFO] [stderr] Downloaded edlc_layout v0.1.1 [INFO] [stderr] Downloaded quinn-proto v0.11.11 [INFO] [stderr] Downloaded rustls v0.23.26 [INFO] [stderr] Downloaded gimli v0.32.0 [INFO] [stderr] Downloaded cranelift-codegen v0.123.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f57ce058f6c2d549497e78b455ba38dd0e7e922715b69fa14370d550bf6579af [INFO] running `Command { std: "docker" "start" "-a" "f57ce058f6c2d549497e78b455ba38dd0e7e922715b69fa14370d550bf6579af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f57ce058f6c2d549497e78b455ba38dd0e7e922715b69fa14370d550bf6579af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57ce058f6c2d549497e78b455ba38dd0e7e922715b69fa14370d550bf6579af", kill_on_drop: false }` [INFO] [stdout] f57ce058f6c2d549497e78b455ba38dd0e7e922715b69fa14370d550bf6579af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6aea8fdbbd7bafffe35e7f550dcdb6303ecdc1fcd1f37002cb6a717f8d91653a [INFO] running `Command { std: "docker" "start" "-a" "6aea8fdbbd7bafffe35e7f550dcdb6303ecdc1fcd1f37002cb6a717f8d91653a", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cranelift-srcgen v0.123.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling cranelift-isle v0.123.2 [INFO] [stderr] Compiling cranelift-codegen-shared v0.123.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking cranelift-bitset v0.123.2 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking cranelift-entity v0.123.2 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.123.2 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Checking cranelift-bforest v0.123.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking regalloc2 v0.12.2 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking gimli v0.32.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking wasmtime-internal-math v36.0.2 [INFO] [stderr] Checking cranelift-control v0.123.2 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Compiling cranelift-codegen-meta v0.123.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking webpki-roots v0.26.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling edlc_analysis v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking servo_arc v0.4.1 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking wasmtime-internal-jit-icache-coherence v36.0.2 [INFO] [stderr] Checking lru v0.16.0 [INFO] [stderr] Checking memmap2 v0.2.3 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.123.2 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking build_html v2.6.0 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking fern v0.7.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.30.0 [INFO] [stderr] Compiling web_atoms v0.1.3 [INFO] [stderr] Compiling cranelift-codegen v0.123.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling match_token v0.35.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking cssparser v0.35.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.44 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking edlc_core v0.1.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking markup5ever v0.35.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking html5ever v0.35.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking css-inline v0.17.0 [INFO] [stderr] Compiling edlc_layout v0.1.1 [INFO] [stderr] Checking edlc_docs v0.1.1 [INFO] [stderr] Checking cranelift-native v0.123.2 [INFO] [stderr] Checking cranelift-module v0.123.2 [INFO] [stderr] Checking cranelift-frontend v0.123.2 [INFO] [stderr] Checking cranelift-jit v0.123.2 [INFO] [stderr] Checking cranelift v0.123.2 [INFO] [stderr] Checking edlc_codegen_cranelift v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> tests/codegen.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, slice}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] --> tests/codegen.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_function() -> Result<(), CompilerError> { [INFO] [stdout] | ----------------------------------------------- move the `impl` block outside of this function `test_function` [INFO] [stdout] ... [INFO] [stdout] 62 | impl Config { [INFO] [stdout] | ^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | `Config` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/codegen.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_function() -> Result<(), CompilerError> { [INFO] [stdout] | ----------------------------------------------- move the `impl` block outside of this function `test_function` [INFO] [stdout] ... [INFO] [stdout] 80 | impl PrepareForTrouble { [INFO] [stdout] | ^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | `PrepareForTrouble` 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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/codegen.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_function() -> Result<(), CompilerError> { [INFO] [stdout] | ----------------------------------------------- move the `impl` block outside of this function `test_function` [INFO] [stdout] ... [INFO] [stdout] 86 | impl TripleTrouble { [INFO] [stdout] | ^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | `TripleTrouble` 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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "6aea8fdbbd7bafffe35e7f550dcdb6303ecdc1fcd1f37002cb6a717f8d91653a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aea8fdbbd7bafffe35e7f550dcdb6303ecdc1fcd1f37002cb6a717f8d91653a", kill_on_drop: false }` [INFO] [stdout] 6aea8fdbbd7bafffe35e7f550dcdb6303ecdc1fcd1f37002cb6a717f8d91653a