[INFO] cloning repository https://github.com/BigBuildBench/trailofbits_circomspect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BigBuildBench/trailofbits_circomspect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBuildBench%2Ftrailofbits_circomspect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBuildBench%2Ftrailofbits_circomspect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 851d564c092c7c39a8a565610c77c0a37e8f1c9b [INFO] checking BigBuildBench/trailofbits_circomspect/851d564c092c7c39a8a565610c77c0a37e8f1c9b against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBuildBench%2Ftrailofbits_circomspect" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BigBuildBench/trailofbits_circomspect on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BigBuildBench/trailofbits_circomspect [INFO] finished tweaking git repo https://github.com/BigBuildBench/trailofbits_circomspect [INFO] tweaked toml for git repo https://github.com/BigBuildBench/trailofbits_circomspect written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 99 packages to latest compatible versions [INFO] [stderr] Adding lalrpop v0.20.2 (available: v0.22.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42ed5d715366a1cbb7c68cc02f25abb067330a825f73fea25e9c7299f5991b6d [INFO] running `Command { std: "docker" "start" "-a" "42ed5d715366a1cbb7c68cc02f25abb067330a825f73fea25e9c7299f5991b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42ed5d715366a1cbb7c68cc02f25abb067330a825f73fea25e9c7299f5991b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ed5d715366a1cbb7c68cc02f25abb067330a825f73fea25e9c7299f5991b6d", kill_on_drop: false }` [INFO] [stdout] 42ed5d715366a1cbb7c68cc02f25abb067330a825f73fea25e9c7299f5991b6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66e2e43d67d4799ddc8c9c1ed2e2d8fab285916e47ce63f60e695c341c2ac679 [INFO] running `Command { std: "docker" "start" "-a" "66e2e43d67d4799ddc8c9c1ed2e2d8fab285916e47ce63f60e695c341c2ac679", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking circomspect-program-structure v2.1.4 (/opt/rustwide/workdir/program_structure) [INFO] [stdout] error[E0463]: can't find crate for `num_bigint_dig` [INFO] [stdout] --> program_structure/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate num_bigint_dig as num_bigint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `num_traits` [INFO] [stdout] --> program_structure/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num_traits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/control_flow_graph/lifting.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, trace}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/control_flow_graph/unique_vars.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::trace; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/static_single_assignment/dominator_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::trace; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/static_single_assignment/traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::trace; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/static_single_assignment/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::trace; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/control_flow_graph/basic_block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::trace; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/control_flow_graph/cfg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/control_flow_graph/ssa_impl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, trace, warn}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/intermediate_representation/degree_meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::trace; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/intermediate_representation/expression_impl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::trace; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `circom_algebra` [INFO] [stdout] --> program_structure/src/intermediate_representation/expression_impl.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use circom_algebra::modular_arithmetic; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `circom_algebra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/intermediate_representation/statement_impl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::trace; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codespan_reporting` [INFO] [stdout] --> program_structure/src/program_library/report.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use codespan_reporting::diagnostic::{Diagnostic, Label}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `codespan_reporting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codespan_reporting` [INFO] [stdout] --> program_structure/src/program_library/file_definition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use codespan_reporting::files::{Files, SimpleFiles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `codespan_reporting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> program_structure/src/program_library/report.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> program_structure/src/utils/constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> program_structure/src/utils/nonempty_vec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Error}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> program_structure/src/utils/writers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow; [INFO] [stdout] | ^^^^^^ no external crate `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/utils/writers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, warn}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `codespan_reporting` [INFO] [stdout] --> program_structure/src/utils/writers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use codespan_reporting::term; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `codespan_reporting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `termcolor` [INFO] [stdout] --> program_structure/src/utils/writers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use termcolor::{StandardStream, ColorChoice, WriteColor, ColorSpec, Color}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `termcolor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> program_structure/src/abstract_syntax_tree/ast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> program_structure/src/control_flow_graph/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codespan_reporting` [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use codespan_reporting::files::Files; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `codespan_reporting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> program_structure/src/intermediate_representation/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, trace}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_sarif` [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_sarif::sarif; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `serde_sarif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> program_structure/src/control_flow_graph/errors.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[error("The variable `{name}` is read before it is declared/written.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> program_structure/src/control_flow_graph/errors.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[error("The variable name `{name}` contains invalid characters.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> program_structure/src/control_flow_graph/errors.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[error("The declaration of the variable `{name}` shadows a previous declaration.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> program_structure/src/control_flow_graph/errors.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[error("Multiple parameters with the same name `{name}` in function or template definition.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> program_structure/src/intermediate_representation/errors.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[error("The variable `{name}` is read before it is declared/written.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> program_structure/src/intermediate_representation/errors.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[error("The variable name `{name}` contains invalid characters.")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | InvalidReportingDescriptorReference(#[from] sarif::ReportingDescriptorReferenceBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | InvalidReportingDescriptor(#[from] sarif::ReportingDescriptorBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:181:36 [INFO] [stdout] | [INFO] [stdout] 181 | InvalidPhysicalLocationError(#[from] sarif::PhysicalLocationBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | InvalidArtifactLocation(#[from] sarif::ArtifactLocationBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | InvalidToolComponent(#[from] sarif::ToolComponentBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | InvalidLocation(#[from] sarif::LocationBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | InvalidMessage(#[from] sarif::MessageBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | InvalidRegion(#[from] sarif::RegionBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | InvalidResult(#[from] sarif::ResultBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | InvalidRun(#[from] sarif::RunBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | InvalidSarif(#[from] sarif::SarifBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | InvalidTool(#[from] sarif::ToolBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> program_structure/src/utils/sarif_conversion.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | InvalidFix(#[from] sarif::FixBuilderError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `atty` [INFO] [stdout] --> program_structure/src/utils/writers.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | let writer = if atty::is(atty::Stream::Stdout) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `atty` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking circomspect-circom-algebra v2.0.2 (/opt/rustwide/workdir/circom_algebra) [INFO] [stdout] error[E0463]: can't find crate for `num_bigint_dig` [INFO] [stdout] --> circom_algebra/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub extern crate num_bigint_dig as num_bigint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `num_traits` [INFO] [stdout] --> circom_algebra/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub extern crate num_traits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `circomspect-circom-algebra` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `atty` [INFO] [stdout] --> program_structure/src/utils/writers.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let writer = if atty::is(atty::Stream::Stdout) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `atty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> program_structure/src/utils/writers.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | let json = serde_json::to_string_pretty(&sarif)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `Result` in the current scope [INFO] [stdout] --> program_structure/src/utils/writers.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 199 | / writeln!(sarif_file, "{}", &json) [INFO] [stdout] 200 | | .with_context(|| format!("could not write to {}", self.sarif_file.display()))?; [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `Result<(), Error>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `circomspect-program-structure` (lib) due to 53 previous errors [INFO] running `Command { std: "docker" "inspect" "66e2e43d67d4799ddc8c9c1ed2e2d8fab285916e47ce63f60e695c341c2ac679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e2e43d67d4799ddc8c9c1ed2e2d8fab285916e47ce63f60e695c341c2ac679", kill_on_drop: false }` [INFO] [stdout] 66e2e43d67d4799ddc8c9c1ed2e2d8fab285916e47ce63f60e695c341c2ac679