[INFO] cloning repository https://github.com/p51lee/circom-intsafe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/p51lee/circom-intsafe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp51lee%2Fcircom-intsafe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp51lee%2Fcircom-intsafe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da0672a706cc7bd1afe78babed631f1422a560bb [INFO] checking p51lee/circom-intsafe/da0672a706cc7bd1afe78babed631f1422a560bb against master#75530e9f72a1990ed2305e16fd51d02f47048f12 for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp51lee%2Fcircom-intsafe" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/p51lee/circom-intsafe on toolchain 75530e9f72a1990ed2305e16fd51d02f47048f12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/p51lee/circom-intsafe [INFO] finished tweaking git repo https://github.com/p51lee/circom-intsafe [INFO] tweaked toml for git repo https://github.com/p51lee/circom-intsafe written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/p51lee/circom-intsafe 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" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codespan v0.9.5 [INFO] [stderr] Downloaded codespan-reporting v0.9.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfc66bdfda447ad3e66a0f3d25fccbf9a520d90264b2bb457f7b247b255a173a [INFO] running `Command { std: "docker" "start" "-a" "dfc66bdfda447ad3e66a0f3d25fccbf9a520d90264b2bb457f7b247b255a173a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfc66bdfda447ad3e66a0f3d25fccbf9a520d90264b2bb457f7b247b255a173a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc66bdfda447ad3e66a0f3d25fccbf9a520d90264b2bb457f7b247b255a173a", kill_on_drop: false }` [INFO] [stdout] dfc66bdfda447ad3e66a0f3d25fccbf9a520d90264b2bb457f7b247b255a173a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 025ad0ec87b7551fbb069faeea27a00844e619e55f7a5ee7e5917fbe4c1d783f [INFO] running `Command { std: "docker" "start" "-a" "025ad0ec87b7551fbb069faeea27a00844e619e55f7a5ee7e5917fbe4c1d783f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking codespan v0.9.5 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking program_structure v2.1.9 (/opt/rustwide/workdir/program_structure) [INFO] [stderr] Compiling parser v2.1.9 (/opt/rustwide/workdir/parser) [INFO] [stderr] Checking interval_analysis v0.1.0 (/opt/rustwide/workdir/interval_analysis) [INFO] [stdout] warning: unused import: `ALMeta` [INFO] [stdout] --> interval_analysis/src/analysis.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analysis_representation::{ALMeta, ALStmt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToBigUint` [INFO] [stdout] --> interval_analysis/src/domain.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use num_bigint::{BigInt, ToBigUint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ALMeta` [INFO] [stdout] --> interval_analysis/src/analysis.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analysis_representation::{ALMeta, ALStmt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToBigUint` [INFO] [stdout] --> interval_analysis/src/domain.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use num_bigint::{BigInt, ToBigUint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> interval_analysis/src/analysis.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | .map(|(m, mem)| m.clone()) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prime` [INFO] [stdout] --> interval_analysis/src/analysis.rs:103:66 [INFO] [stdout] | [INFO] [stdout] 103 | fn check_instr(&self, instr: ALStmt, memory: IntervalMemory, prime: BigInt) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> interval_analysis/src/analysis.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | .map(|(m, mem)| m.clone()) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prime` [INFO] [stdout] --> interval_analysis/src/analysis.rs:103:66 [INFO] [stdout] | [INFO] [stdout] 103 | fn check_instr(&self, instr: ALStmt, memory: IntervalMemory, prime: BigInt) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> interval_analysis/src/domain.rs:543:82 [INFO] [stdout] | [INFO] [stdout] 543 | (ALCmpCode::ALGe, Interval::Interval(l1, l2), Interval::Interval(r1, r2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> interval_analysis/src/domain.rs:548:82 [INFO] [stdout] | [INFO] [stdout] 548 | (ALCmpCode::ALGt, Interval::Interval(l1, l2), Interval::Interval(r1, r2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> interval_analysis/src/domain.rs:553:78 [INFO] [stdout] | [INFO] [stdout] 553 | (ALCmpCode::ALLe, Interval::Interval(l1, l2), Interval::Interval(r1, r2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> interval_analysis/src/domain.rs:558:78 [INFO] [stdout] | [INFO] [stdout] 558 | (ALCmpCode::ALLt, Interval::Interval(l1, l2), Interval::Interval(r1, r2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> interval_analysis/src/domain.rs:543:82 [INFO] [stdout] | [INFO] [stdout] 543 | (ALCmpCode::ALGe, Interval::Interval(l1, l2), Interval::Interval(r1, r2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> interval_analysis/src/domain.rs:548:82 [INFO] [stdout] | [INFO] [stdout] 548 | (ALCmpCode::ALGt, Interval::Interval(l1, l2), Interval::Interval(r1, r2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> interval_analysis/src/domain.rs:553:78 [INFO] [stdout] | [INFO] [stdout] 553 | (ALCmpCode::ALLe, Interval::Interval(l1, l2), Interval::Interval(r1, r2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> interval_analysis/src/domain.rs:558:78 [INFO] [stdout] | [INFO] [stdout] 558 | (ALCmpCode::ALLt, Interval::Interval(l1, l2), Interval::Interval(r1, r2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parameters` is never read [INFO] [stdout] --> interval_analysis/src/analysis.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct IntervalAnalyzer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 12 | program: ALStmt, [INFO] [stdout] 13 | parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_access` is never used [INFO] [stdout] --> interval_analysis/src/analysis_representation.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 708 | impl ALExpr { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 809 | fn from_access(accesses: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> interval_analysis/src/domain.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait NumericalDomain: [INFO] [stdout] | --------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn from_int(i: i32) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parameters` is never read [INFO] [stdout] --> interval_analysis/src/analysis.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct IntervalAnalyzer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 12 | program: ALStmt, [INFO] [stdout] 13 | parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_access` is never used [INFO] [stdout] --> interval_analysis/src/analysis_representation.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 708 | impl ALExpr { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 809 | fn from_access(accesses: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> interval_analysis/src/domain.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait NumericalDomain: [INFO] [stdout] | --------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn from_int(i: i32) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking circom-intsafe v0.1.0 (/opt/rustwide/workdir/intsafe) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.91s [INFO] running `Command { std: "docker" "inspect" "025ad0ec87b7551fbb069faeea27a00844e619e55f7a5ee7e5917fbe4c1d783f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "025ad0ec87b7551fbb069faeea27a00844e619e55f7a5ee7e5917fbe4c1d783f", kill_on_drop: false }` [INFO] [stdout] 025ad0ec87b7551fbb069faeea27a00844e619e55f7a5ee7e5917fbe4c1d783f