[INFO] fetching crate edlc_codegen_cranelift 0.1.1... [INFO] checking edlc_codegen_cranelift-0.1.1 against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] extracting crate edlc_codegen_cranelift 0.1.1 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate edlc_codegen_cranelift 0.1.1 on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "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" "+f70ee28831acc074c109afab32d287057c3eca46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 553add109689aec2e3524131c0544afc966699b5beafb870c7e1fbd4e554699c [INFO] running `Command { std: "docker" "start" "-a" "553add109689aec2e3524131c0544afc966699b5beafb870c7e1fbd4e554699c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "553add109689aec2e3524131c0544afc966699b5beafb870c7e1fbd4e554699c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "553add109689aec2e3524131c0544afc966699b5beafb870c7e1fbd4e554699c", kill_on_drop: false }` [INFO] [stdout] 553add109689aec2e3524131c0544afc966699b5beafb870c7e1fbd4e554699c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e192d0f4b567ff0462da0da8713ec2d5746cd669b581b43d2b9e0c00b48cf53 [INFO] running `Command { std: "docker" "start" "-a" "0e192d0f4b567ff0462da0da8713ec2d5746cd669b581b43d2b9e0c00b48cf53", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling cranelift-srcgen v0.123.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling cranelift-isle v0.123.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Compiling cranelift-codegen-shared v0.123.2 [INFO] [stderr] Checking cranelift-bitset v0.123.2 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.123.2 [INFO] [stderr] Checking cranelift-entity v0.123.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Checking regalloc2 v0.12.2 [INFO] [stderr] Checking cranelift-bforest v0.123.2 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Checking gimli v0.32.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling cranelift-codegen-meta v0.123.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking wasmtime-internal-math v36.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking cranelift-control v0.123.2 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling edlc_analysis v0.1.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking servo_arc v0.4.1 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking wasmtime-internal-jit-icache-coherence v36.0.2 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.123.2 [INFO] [stderr] Checking memmap2 v0.2.3 [INFO] [stderr] Checking lru v0.16.0 [INFO] [stderr] Checking build_html v2.6.0 [INFO] [stderr] Checking fern v0.7.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling cranelift-codegen v0.123.2 [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 synstructure v0.13.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] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [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] Checking hyper-util v0.1.11 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Compiling clap v4.5.44 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.5 [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 markup5ever v0.35.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking html5ever v0.35.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [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-module v0.123.2 [INFO] [stderr] Checking cranelift-frontend v0.123.2 [INFO] [stderr] Checking cranelift-native 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 51.71s [INFO] running `Command { std: "docker" "inspect" "0e192d0f4b567ff0462da0da8713ec2d5746cd669b581b43d2b9e0c00b48cf53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e192d0f4b567ff0462da0da8713ec2d5746cd669b581b43d2b9e0c00b48cf53", kill_on_drop: false }` [INFO] [stdout] 0e192d0f4b567ff0462da0da8713ec2d5746cd669b581b43d2b9e0c00b48cf53