[INFO] fetching crate cranelift-jit 0.123.1... [INFO] checking cranelift-jit-0.123.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cranelift-jit 0.123.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cranelift-jit 0.123.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cranelift-jit 0.123.1 [INFO] tweaked toml for crates.io crate cranelift-jit 0.123.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cranelift-jit 0.123.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cranelift-jit 0.123.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f29a07d0eb3c77f9249ae10b0d6091affe2dbc00c316b7c3e0143be8573e9a3d [INFO] running `Command { std: "docker" "start" "-a" "f29a07d0eb3c77f9249ae10b0d6091affe2dbc00c316b7c3e0143be8573e9a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f29a07d0eb3c77f9249ae10b0d6091affe2dbc00c316b7c3e0143be8573e9a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f29a07d0eb3c77f9249ae10b0d6091affe2dbc00c316b7c3e0143be8573e9a3d", kill_on_drop: false }` [INFO] [stdout] f29a07d0eb3c77f9249ae10b0d6091affe2dbc00c316b7c3e0143be8573e9a3d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bdad448ec44da6cdfb4c5e524ba2363efc953734494f108bcdec42c5b579142 [INFO] running `Command { std: "docker" "start" "-a" "6bdad448ec44da6cdfb4c5e524ba2363efc953734494f108bcdec42c5b579142", kill_on_drop: false }` [INFO] [stderr] Compiling cranelift-srcgen v0.123.1 [INFO] [stderr] Compiling cranelift-isle v0.123.1 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling cranelift-codegen-shared v0.123.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling target-lexicon v0.13.0 [INFO] [stderr] Checking cranelift-bitset v0.123.1 [INFO] [stderr] Checking allocator-api2 v0.2.20 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.123.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cranelift-entity v0.123.1 [INFO] [stderr] Checking cranelift-control v0.123.1 [INFO] [stderr] Checking cranelift-bforest v0.123.1 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking wasmtime-internal-math v36.0.1 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking regalloc2 v0.12.2 [INFO] [stderr] Checking wasmtime-internal-jit-icache-coherence v36.0.1 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Compiling cranelift-codegen-meta v0.123.1 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.123.1 [INFO] [stderr] Checking gimli v0.32.0 [INFO] [stderr] Compiling cranelift-codegen v0.123.1 [INFO] [stderr] Checking cranelift-native v0.123.1 [INFO] [stderr] Checking cranelift-module v0.123.1 [INFO] [stderr] Checking cranelift-frontend v0.123.1 [INFO] [stderr] Checking cranelift-jit v0.123.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cranelift` [INFO] [stdout] --> examples/jit-minimal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cranelift::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `cranelift` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cranelift`, use `cargo add cranelift` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `codegen` [INFO] [stdout] --> examples/jit-minimal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use codegen::ir::UserFuncName; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `codegen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `codegen`, use `cargo add codegen` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `settings` [INFO] [stdout] --> examples/jit-minimal.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | let mut flag_builder = settings::builder(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `settings` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `settings`, use `cargo add settings` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `settings` [INFO] [stdout] --> examples/jit-minimal.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | .finish(settings::Flags::new(flag_builder)) [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `settings` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `settings`, use `cargo add settings` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `types`, use `cargo add types` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `types`, use `cargo add types` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `types`, use `cargo add types` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `types`, use `cargo add types` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `types`, use `cargo add types` to add it to your `Cargo.toml` [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] running `Command { std: "docker" "inspect" "6bdad448ec44da6cdfb4c5e524ba2363efc953734494f108bcdec42c5b579142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bdad448ec44da6cdfb4c5e524ba2363efc953734494f108bcdec42c5b579142", kill_on_drop: false }` [INFO] [stdout] 6bdad448ec44da6cdfb4c5e524ba2363efc953734494f108bcdec42c5b579142