[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 against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp51lee%2Fcircom-intsafe" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/p51lee/circom-intsafe on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "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-1-tc2/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" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b9eb8061772c628c7bd025dcf4e2d0dbd412230d7391fa89cad442d540f8b01 [INFO] running `Command { std: "docker" "start" "-a" "3b9eb8061772c628c7bd025dcf4e2d0dbd412230d7391fa89cad442d540f8b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b9eb8061772c628c7bd025dcf4e2d0dbd412230d7391fa89cad442d540f8b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b9eb8061772c628c7bd025dcf4e2d0dbd412230d7391fa89cad442d540f8b01", kill_on_drop: false }` [INFO] [stdout] 3b9eb8061772c628c7bd025dcf4e2d0dbd412230d7391fa89cad442d540f8b01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6a39796c8439426cc6dc1ebbb6c2ef66e7ffac685de6e1e2209dcc1f0848217 [INFO] running `Command { std: "docker" "start" "-a" "e6a39796c8439426cc6dc1ebbb6c2ef66e7ffac685de6e1e2209dcc1f0848217", 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] Checking byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [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] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking codespan v0.9.5 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling lalrpop v0.19.12 [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 1m 20s [INFO] running `Command { std: "docker" "inspect" "e6a39796c8439426cc6dc1ebbb6c2ef66e7ffac685de6e1e2209dcc1f0848217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a39796c8439426cc6dc1ebbb6c2ef66e7ffac685de6e1e2209dcc1f0848217", kill_on_drop: false }` [INFO] [stdout] e6a39796c8439426cc6dc1ebbb6c2ef66e7ffac685de6e1e2209dcc1f0848217