[INFO] fetching crate cranelift-jit 0.112.3... [INFO] checking cranelift-jit-0.112.3 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate cranelift-jit 0.112.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cranelift-jit 0.112.3 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cranelift-jit 0.112.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cranelift-jit 0.112.3 [INFO] tweaked toml for crates.io crate cranelift-jit 0.112.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate cranelift-jit 0.112.3 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 842f6ea6694f95445e67ef1ecac2e65585bc0f63701632c5dc366ba3ec0b150e [INFO] running `Command { std: "docker" "start" "-a" "842f6ea6694f95445e67ef1ecac2e65585bc0f63701632c5dc366ba3ec0b150e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "842f6ea6694f95445e67ef1ecac2e65585bc0f63701632c5dc366ba3ec0b150e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842f6ea6694f95445e67ef1ecac2e65585bc0f63701632c5dc366ba3ec0b150e", kill_on_drop: false }` [INFO] [stdout] 842f6ea6694f95445e67ef1ecac2e65585bc0f63701632c5dc366ba3ec0b150e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ba51f4adcae3c39aa34e45154372801e1ce53280107cd783d15a79f70cfab36 [INFO] running `Command { std: "docker" "start" "-a" "5ba51f4adcae3c39aa34e45154372801e1ce53280107cd783d15a79f70cfab36", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cranelift-isle v0.112.3 [INFO] [stderr] Compiling cranelift-codegen-shared v0.112.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cranelift-bitset v0.112.3 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking arbitrary v1.3.1 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling cranelift-codegen-meta v0.112.3 [INFO] [stderr] Checking cranelift-entity v0.112.3 [INFO] [stderr] Checking cranelift-bforest v0.112.3 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking cranelift-control v0.112.3 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v25.0.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking regalloc2 v0.10.2 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling cranelift-codegen v0.112.3 [INFO] [stderr] Checking cranelift-module v0.112.3 [INFO] [stderr] Checking cranelift-native v0.112.3 [INFO] [stderr] Checking cranelift-frontend v0.112.3 [INFO] [stderr] Checking cranelift-jit v0.112.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/backend.rs (3 fixes) [INFO] [stderr] Fixed src/compiled_blob.rs (1 fix) [INFO] [stderr] Migrating tests/basic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/jit-minimal.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cranelift` [INFO] [stdout] --> examples/jit-minimal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cranelift::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `cranelift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codegen` [INFO] [stdout] --> examples/jit-minimal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use codegen::ir::UserFuncName; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codegen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codegen::ir::UserFuncName` [INFO] [stdout] --> examples/jit-minimal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use codegen::ir::UserFuncName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `settings` [INFO] [stdout] --> examples/jit-minimal.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | let mut flag_builder = settings::builder(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `settings` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::isa::x64::settings; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::settings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `settings` [INFO] [stdout] --> examples/jit-minimal.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | .finish(settings::Flags::new(flag_builder)) [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `settings` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::isa::x64::settings::Flags; [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::settings::Flags; [INFO] [stdout] | [INFO] [stdout] help: if you import `Flags`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - .finish(settings::Flags::new(flag_builder)) [INFO] [stdout] 16 + .finish(Flags::new(flag_builder)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionBuilderContext` [INFO] [stdout] --> examples/jit-minimal.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | let mut func_ctx = FunctionBuilderContext::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `FunctionBuilderContext` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_frontend::FunctionBuilderContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiParam` [INFO] [stdout] --> examples/jit-minimal.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | sig_a.params.push(AbiParam::new(types::I32)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiParam` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::AbiParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> examples/jit-minimal.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | sig_a.params.push(AbiParam::new(types::I32)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::types; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiParam` [INFO] [stdout] --> examples/jit-minimal.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | sig_a.returns.push(AbiParam::new(types::I32)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiParam` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::AbiParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> examples/jit-minimal.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | sig_a.returns.push(AbiParam::new(types::I32)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::types; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbiParam` [INFO] [stdout] --> examples/jit-minimal.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | sig_b.returns.push(AbiParam::new(types::I32)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AbiParam` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::AbiParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> examples/jit-minimal.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | sig_b.returns.push(AbiParam::new(types::I32)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::types; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionBuilder` in this scope [INFO] [stdout] --> examples/jit-minimal.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let mut bcx: FunctionBuilder = FunctionBuilder::new(&mut ctx.func, &mut func_ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_frontend::FunctionBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionBuilder` [INFO] [stdout] --> examples/jit-minimal.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | let mut bcx: FunctionBuilder = FunctionBuilder::new(&mut ctx.func, &mut func_ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `FunctionBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_frontend::FunctionBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> examples/jit-minimal.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | let cst = bcx.ins().iconst(types::I32, 37); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::types; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionBuilder` in this scope [INFO] [stdout] --> examples/jit-minimal.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let mut bcx: FunctionBuilder = FunctionBuilder::new(&mut ctx.func, &mut func_ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_frontend::FunctionBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FunctionBuilder` [INFO] [stdout] --> examples/jit-minimal.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | let mut bcx: FunctionBuilder = FunctionBuilder::new(&mut ctx.func, &mut func_ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `FunctionBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_frontend::FunctionBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> examples/jit-minimal.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | let arg = bcx.ins().iconst(types::I32, 5); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cranelift_codegen::ir::types; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cranelift-jit` (example "jit-minimal") due to 18 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5ba51f4adcae3c39aa34e45154372801e1ce53280107cd783d15a79f70cfab36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba51f4adcae3c39aa34e45154372801e1ce53280107cd783d15a79f70cfab36", kill_on_drop: false }` [INFO] [stdout] 5ba51f4adcae3c39aa34e45154372801e1ce53280107cd783d15a79f70cfab36