[INFO] fetching crate bashrs 0.3.3... [INFO] checking bashrs-0.3.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bashrs 0.3.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate bashrs 0.3.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bashrs 0.3.3 [INFO] tweaked toml for crates.io crate bashrs 0.3.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bashrs 0.3.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bashrs 0.3.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.25.0 [INFO] [stderr] Downloaded lru v0.14.0 [INFO] [stderr] Downloaded tree-sitter-language v0.1.5 [INFO] [stderr] Downloaded rstest_macros v0.25.0 [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded syn v2.0.102 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] [stderr] Downloaded tree-sitter v0.25.6 [INFO] [stderr] Downloaded tree-sitter-rust v0.23.3 [INFO] [stderr] Downloaded petgraph v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7276192cec4e591478f68f9a7123b0379c0a09925b2022a00b21cc3419a6e5b [INFO] running `Command { std: "docker" "start" "-a" "c7276192cec4e591478f68f9a7123b0379c0a09925b2022a00b21cc3419a6e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7276192cec4e591478f68f9a7123b0379c0a09925b2022a00b21cc3419a6e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7276192cec4e591478f68f9a7123b0379c0a09925b2022a00b21cc3419a6e5b", kill_on_drop: false }` [INFO] [stdout] c7276192cec4e591478f68f9a7123b0379c0a09925b2022a00b21cc3419a6e5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90322b782e049a4eacb1f58b4382958e6b9c811ddc5c6d94074c0d3677faeeb2 [INFO] running `Command { std: "docker" "start" "-a" "90322b782e049a4eacb1f58b4382958e6b9c811ddc5c6d94074c0d3677faeeb2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling tree-sitter-rust v0.23.3 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling tree-sitter v0.25.6 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tree-sitter-language v0.1.5 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking xattr v1.5.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling bashrs v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking lru v0.14.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking criterion v0.6.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rash` [INFO] [stdout] --> tests/integration_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rash::models::config::{ShellDialect, VerificationLevel}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` 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 `rash` [INFO] [stdout] --> benches/transpilation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rash::{ir, services::parser, transpile, Config}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rash` [INFO] [stdout] --> benches/transpilation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rash::{ir, services::parser, transpile, Config}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rash` [INFO] [stdout] --> tests/integration_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rash::{check, transpile, Config}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` 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 `rash` [INFO] [stdout] --> benches/verification.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rash::{ir, models::VerificationLevel, services::parser, verifier}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rash` [INFO] [stdout] --> benches/verification.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rash::{ir, models::VerificationLevel, services::parser, verifier}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` 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 `rash` [INFO] [stdout] --> benches/transpilation.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | |b, (ir, config)| b.iter(|| rash::emitter::emit(ir, config).unwrap()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::emitter; [INFO] [stdout] | [INFO] [stdout] help: if you import `emitter`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 143 - |b, (ir, config)| b.iter(|| rash::emitter::emit(ir, config).unwrap()), [INFO] [stdout] 143 + |b, (ir, config)| b.iter(|| emitter::emit(ir, config).unwrap()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rash` [INFO] [stdout] --> benches/validation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rash::validation::ValidationLevel; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` 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 `rash` [INFO] [stdout] --> benches/validation.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use rash::validation::{rules::*, Validate}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rash` [INFO] [stdout] --> benches/validation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rash::{transpile, Config}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bashrs` (bench "transpilation") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bashrs` (test "integration_tests") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariableExpansion` [INFO] [stdout] --> benches/validation.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | let var = VariableExpansion::Quoted("USER".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `VariableExpansion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::validation::rules::VariableExpansion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VariableExpansion` [INFO] [stdout] --> benches/validation.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let var = VariableExpansion::Unquoted("USER".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `VariableExpansion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::validation::rules::VariableExpansion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CommandSubstitution` in this scope [INFO] [stdout] --> benches/validation.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | let cmd = CommandSubstitution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::formatter::QuoteReason::CommandSubstitution; [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::validation::rules::CommandSubstitution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubstitutionContext` [INFO] [stdout] --> benches/validation.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | context: SubstitutionContext::Quoted, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `SubstitutionContext` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::validation::rules::SubstitutionContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `validate_glob_pattern` in this scope [INFO] [stdout] --> benches/validation.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let _ = validate_glob_pattern(black_box("file.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::validation::rules::validate_glob_pattern; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `validate_glob_pattern` in this scope [INFO] [stdout] --> benches/validation.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let _ = validate_glob_pattern(black_box("-rf")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::validation::rules::validate_glob_pattern; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `validate_all` in this scope [INFO] [stdout] --> benches/validation.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let _ = validate_all(black_box(snippet)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::validation::rules::validate_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `validate_all` in this scope [INFO] [stdout] --> benches/validation.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let _ = validate_all(black_box(snippet)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::validation::rules::validate_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rash` [INFO] [stdout] --> benches/verification.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | |b, ir| b.iter(|| rash::verifier::properties::verify_no_command_injection(ir).unwrap()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::verifier::properties; [INFO] [stdout] | [INFO] [stdout] help: if you import `properties`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - |b, ir| b.iter(|| rash::verifier::properties::verify_no_command_injection(ir).unwrap()), [INFO] [stdout] 147 + |b, ir| b.iter(|| properties::verify_no_command_injection(ir).unwrap()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rash` [INFO] [stdout] --> benches/verification.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | |b, ir| b.iter(|| rash::verifier::properties::verify_no_command_injection(ir).unwrap()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::verifier::properties; [INFO] [stdout] | [INFO] [stdout] help: if you import `properties`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 153 - |b, ir| b.iter(|| rash::verifier::properties::verify_no_command_injection(ir).unwrap()), [INFO] [stdout] 153 + |b, ir| b.iter(|| properties::verify_no_command_injection(ir).unwrap()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rash` [INFO] [stdout] --> benches/verification.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | let _ = rash::verifier::properties::verify_no_command_injection(ir); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::verifier::properties; [INFO] [stdout] | [INFO] [stdout] help: if you import `properties`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 161 - let _ = rash::verifier::properties::verify_no_command_injection(ir); [INFO] [stdout] 161 + let _ = properties::verify_no_command_injection(ir); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rash` [INFO] [stdout] --> benches/verification.rs:169:27 [INFO] [stdout] | [INFO] [stdout] 169 | |b, ir| b.iter(|| rash::verifier::properties::verify_deterministic(ir).unwrap()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::verifier::properties; [INFO] [stdout] | [INFO] [stdout] help: if you import `properties`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 169 - |b, ir| b.iter(|| rash::verifier::properties::verify_deterministic(ir).unwrap()), [INFO] [stdout] 169 + |b, ir| b.iter(|| properties::verify_deterministic(ir).unwrap()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rash` [INFO] [stdout] --> benches/verification.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | |b, ir| b.iter(|| rash::verifier::properties::verify_deterministic(ir).unwrap()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::verifier::properties; [INFO] [stdout] | [INFO] [stdout] help: if you import `properties`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 175 - |b, ir| b.iter(|| rash::verifier::properties::verify_deterministic(ir).unwrap()), [INFO] [stdout] 175 + |b, ir| b.iter(|| properties::verify_deterministic(ir).unwrap()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rash` [INFO] [stdout] --> benches/verification.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | |b, ir| b.iter(|| rash::verifier::properties::verify_idempotency(ir).unwrap()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::verifier::properties; [INFO] [stdout] | [INFO] [stdout] help: if you import `properties`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 181 - |b, ir| b.iter(|| rash::verifier::properties::verify_idempotency(ir).unwrap()), [INFO] [stdout] 181 + |b, ir| b.iter(|| properties::verify_idempotency(ir).unwrap()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rash` [INFO] [stdout] --> benches/verification.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | |b, ir| b.iter(|| rash::verifier::properties::verify_resource_safety(ir).unwrap()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rash`, use `cargo add rash` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use bashrs::verifier::properties; [INFO] [stdout] | [INFO] [stdout] help: if you import `properties`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 187 - |b, ir| b.iter(|| rash::verifier::properties::verify_resource_safety(ir).unwrap()), [INFO] [stdout] 187 + |b, ir| b.iter(|| properties::verify_resource_safety(ir).unwrap()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bashrs` (bench "validation") due to 11 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> benches/verification.rs:253:84 [INFO] [stdout] | [INFO] [stdout] 253 | group.bench_with_input(BenchmarkId::new("analyze_effects", name), &ir, |b, ir| { [INFO] [stdout] | ^^ [INFO] [stdout] 254 | b.iter(|| { [INFO] [stdout] 255 | let effects = ir.effects(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `I` is specified [INFO] [stdout] | [INFO] [stdout] 253 | group.bench_with_input(BenchmarkId::new("analyze_effects", name), &ir, |b, ir: &I| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bashrs` (bench "verification") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "90322b782e049a4eacb1f58b4382958e6b9c811ddc5c6d94074c0d3677faeeb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90322b782e049a4eacb1f58b4382958e6b9c811ddc5c6d94074c0d3677faeeb2", kill_on_drop: false }` [INFO] [stdout] 90322b782e049a4eacb1f58b4382958e6b9c811ddc5c6d94074c0d3677faeeb2