[INFO] fetching crate cranelift-jit 0.112.3... [INFO] checking cranelift-jit-0.112.3 against master#8549802939cd01111c46e34a7b67cb1933977af9 for pr-132712 [INFO] extracting crate cranelift-jit 0.112.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate cranelift-jit 0.112.3 on toolchain 8549802939cd01111c46e34a7b67cb1933977af9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "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-tc1/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" "+8549802939cd01111c46e34a7b67cb1933977af9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v25.0.3 [INFO] [stderr] Downloaded zerocopy v0.7.32 [INFO] [stderr] Downloaded cranelift-module v0.112.3 [INFO] [stderr] Downloaded zerocopy-derive v0.7.32 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded anyhow v1.0.75 [INFO] [stderr] Downloaded arbitrary v1.3.1 [INFO] [stderr] Downloaded cranelift-frontend v0.112.3 [INFO] [stderr] Downloaded bumpalo v3.14.0 [INFO] [stderr] Downloaded unicode-ident v1.0.8 [INFO] [stderr] Downloaded hashbrown v0.14.3 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded cranelift-native v0.112.3 [INFO] [stderr] Downloaded mach v0.3.2 [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded libc v0.2.161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cfabb60809a298e4f62f28db96e34787bb510cb230163f7c5148a44b9a31417 [INFO] running `Command { std: "docker" "start" "-a" "6cfabb60809a298e4f62f28db96e34787bb510cb230163f7c5148a44b9a31417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cfabb60809a298e4f62f28db96e34787bb510cb230163f7c5148a44b9a31417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cfabb60809a298e4f62f28db96e34787bb510cb230163f7c5148a44b9a31417", kill_on_drop: false }` [INFO] [stdout] 6cfabb60809a298e4f62f28db96e34787bb510cb230163f7c5148a44b9a31417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+8549802939cd01111c46e34a7b67cb1933977af9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce8b9e9b3948d43ee46dfba9e49d2f9b7422e5ad53053ecea1bf8a7d003d5c28 [INFO] running `Command { std: "docker" "start" "-a" "ce8b9e9b3948d43ee46dfba9e49d2f9b7422e5ad53053ecea1bf8a7d003d5c28", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [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 smallvec v1.11.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking arbitrary v1.3.1 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling anyhow v1.0.75 [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 wasmtime-jit-icache-coherence v25.0.3 [INFO] [stderr] Checking region v2.2.0 [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 (/opt/rustwide/workdir) [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] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ce8b9e9b3948d43ee46dfba9e49d2f9b7422e5ad53053ecea1bf8a7d003d5c28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce8b9e9b3948d43ee46dfba9e49d2f9b7422e5ad53053ecea1bf8a7d003d5c28", kill_on_drop: false }` [INFO] [stdout] ce8b9e9b3948d43ee46dfba9e49d2f9b7422e5ad53053ecea1bf8a7d003d5c28