[INFO] cloning repository https://github.com/shanzson/Intro-to-Zk-using-Snarkjs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shanzson/Intro-to-Zk-using-Snarkjs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanzson%2FIntro-to-Zk-using-Snarkjs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanzson%2FIntro-to-Zk-using-Snarkjs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f119beaf742b707c6e7558a50ed22c8408e4c176 [INFO] building shanzson/Intro-to-Zk-using-Snarkjs against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanzson%2FIntro-to-Zk-using-Snarkjs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shanzson/Intro-to-Zk-using-Snarkjs [INFO] finished tweaking git repo https://github.com/shanzson/Intro-to-Zk-using-Snarkjs [INFO] tweaked toml for git repo https://github.com/shanzson/Intro-to-Zk-using-Snarkjs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shanzson/Intro-to-Zk-using-Snarkjs on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shanzson/Intro-to-Zk-using-Snarkjs 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "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 unicode-ident v1.0.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.42 [INFO] [stderr] Downloaded pest_generator v2.2.1 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded codespan-reporting v0.9.5 [INFO] [stderr] Downloaded exitcode v1.1.2 [INFO] [stderr] Downloaded ascii-canvas v2.0.0 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded ena v0.13.1 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded ucd-trie v0.1.4 [INFO] [stderr] Downloaded itertools v0.8.2 [INFO] [stderr] Downloaded pest v2.2.1 [INFO] [stderr] Downloaded petgraph v0.4.13 [INFO] [stderr] Downloaded wast v39.0.0 [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded lalrpop v0.18.1 [INFO] [stderr] Downloaded num-bigint-dig v0.6.1 [INFO] [stderr] Downloaded handlebars v4.3.3 [INFO] [stderr] Downloaded libm v0.2.3 [INFO] [stderr] Downloaded serde v1.0.141 [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded fixedbitset v0.1.9 [INFO] [stderr] Downloaded string_cache v0.7.5 [INFO] [stderr] Downloaded pest_meta v2.2.1 [INFO] [stderr] Downloaded lz_fnv v0.1.2 [INFO] [stderr] Downloaded serde_derive v1.0.141 [INFO] [stderr] Downloaded pest_derive v2.2.1 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded string_cache_codegen v0.4.4 [INFO] [stderr] Downloaded string_cache_shared v0.3.0 [INFO] [stderr] Downloaded lalrpop-util v0.18.1 [INFO] [stderr] Downloaded generic-array v0.14.6 [INFO] [stderr] Downloaded codespan v0.9.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18d4dc44c8e2b4187f31091b6f48e38ac8f5411d3006ea1937e73e1ba3e34417 [INFO] running `Command { std: "docker" "start" "-a" "18d4dc44c8e2b4187f31091b6f48e38ac8f5411d3006ea1937e73e1ba3e34417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18d4dc44c8e2b4187f31091b6f48e38ac8f5411d3006ea1937e73e1ba3e34417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18d4dc44c8e2b4187f31091b6f48e38ac8f5411d3006ea1937e73e1ba3e34417", kill_on_drop: false }` [INFO] [stdout] 18d4dc44c8e2b4187f31091b6f48e38ac8f5411d3006ea1937e73e1ba3e34417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccb4fad4ff049bcff20a533a0ad8b1c8c34fbca0b0fa1dc047bac173aaf7901f [INFO] running `Command { std: "docker" "start" "-a" "ccb4fad4ff049bcff20a533a0ad8b1c8c34fbca0b0fa1dc047bac173aaf7901f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.141 [INFO] [stderr] Compiling serde v1.0.141 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling libm v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.4 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling constant_tracking v2.0.0 (/opt/rustwide/workdir/constant_tracking) [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling codespan-reporting v0.9.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling codespan v0.9.5 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling lz_fnv v0.1.2 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling wast v39.0.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling lalrpop-util v0.18.1 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pest v2.2.1 [INFO] [stderr] Compiling pest_meta v2.2.1 [INFO] [stderr] Compiling pest_generator v2.2.1 [INFO] [stderr] Compiling pest_derive v2.2.1 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling lalrpop v0.18.1 [INFO] [stderr] Compiling handlebars v4.3.3 [INFO] [stderr] Compiling program_structure v2.1.1 (/opt/rustwide/workdir/program_structure) [INFO] [stderr] Compiling circom_algebra v2.1.1 (/opt/rustwide/workdir/circom_algebra) [INFO] [stderr] Compiling constraint_writers v2.0.9 (/opt/rustwide/workdir/constraint_writers) [INFO] [stderr] Compiling type_analysis v2.1.0 (/opt/rustwide/workdir/type_analysis) [INFO] [stderr] Compiling constraint_list v2.0.9 (/opt/rustwide/workdir/constraint_list) [INFO] [stdout] warning: value assigned to `round_id` is never read [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | round_id += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dag v2.0.9 (/opt/rustwide/workdir/dag) [INFO] [stderr] Compiling code_producers v2.1.1 (/opt/rustwide/workdir/code_producers) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> dag/src/lib.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(dag: &DAG) -> Tree { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(dag: &DAG) -> Tree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling compiler v2.1.2 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused imports: `InstructionPointer` and `Instruction` [INFO] [stdout] --> compiler/src/intermediate_representation/mod.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub use ir_interface::{Instruction, InstructionList, InstructionPointer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CheckCompute` is never used [INFO] [stdout] --> compiler/src/intermediate_representation/ir_interface.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait CheckCompute { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> compiler/src/hir/analysis_utilities.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GenericFunction { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> compiler/src/circuit_design/circuit.rs:445:40 [INFO] [stdout] | [INFO] [stdout] 445 | let c_folder_path = Path::new(c_folder.clone()).to_path_buf(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> compiler/src/circuit_design/circuit.rs:459:42 [INFO] [stdout] | [INFO] [stdout] 459 | let js_folder_path = Path::new(js_folder.clone()).to_path_buf(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling constraint_generation v2.1.1 (/opt/rustwide/workdir/constraint_generation) [INFO] [stderr] Compiling parser v2.1.1 (/opt/rustwide/workdir/parser) [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> parser/src/errors.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AnonymousCompError{ [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 93 | pub location: FileLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> parser/src/errors.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct TupleError{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 131 | pub location: FileLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> parser/src/include_logic.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | file.clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling circom v2.1.2 (/opt/rustwide/workdir/circom) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ccb4fad4ff049bcff20a533a0ad8b1c8c34fbca0b0fa1dc047bac173aaf7901f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb4fad4ff049bcff20a533a0ad8b1c8c34fbca0b0fa1dc047bac173aaf7901f", kill_on_drop: false }` [INFO] [stdout] ccb4fad4ff049bcff20a533a0ad8b1c8c34fbca0b0fa1dc047bac173aaf7901f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 721ce98ba33101b52f10d456679665f2d7f0de240c32209f38d76624bb8e7427 [INFO] running `Command { std: "docker" "start" "-a" "721ce98ba33101b52f10d456679665f2d7f0de240c32209f38d76624bb8e7427", kill_on_drop: false }` [INFO] [stderr] Compiling program_structure v2.1.1 (/opt/rustwide/workdir/program_structure) [INFO] [stderr] Compiling circom_algebra v2.1.1 (/opt/rustwide/workdir/circom_algebra) [INFO] [stderr] Compiling constant_tracking v2.0.0 (/opt/rustwide/workdir/constant_tracking) [INFO] [stderr] Compiling constraint_writers v2.0.9 (/opt/rustwide/workdir/constraint_writers) [INFO] [stderr] Compiling type_analysis v2.1.0 (/opt/rustwide/workdir/type_analysis) [INFO] [stdout] warning: value assigned to `round_id` is never read [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | round_id += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling constraint_list v2.0.9 (/opt/rustwide/workdir/constraint_list) [INFO] [stderr] Compiling dag v2.0.9 (/opt/rustwide/workdir/dag) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> dag/src/lib.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(dag: &DAG) -> Tree { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(dag: &DAG) -> Tree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling code_producers v2.1.1 (/opt/rustwide/workdir/code_producers) [INFO] [stdout] warning: unused imports: `InstructionPointer` and `Instruction` [INFO] [stdout] --> compiler/src/intermediate_representation/mod.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub use ir_interface::{Instruction, InstructionList, InstructionPointer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CheckCompute` is never used [INFO] [stdout] --> compiler/src/intermediate_representation/ir_interface.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait CheckCompute { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> compiler/src/hir/analysis_utilities.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GenericFunction { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> compiler/src/circuit_design/circuit.rs:445:40 [INFO] [stdout] | [INFO] [stdout] 445 | let c_folder_path = Path::new(c_folder.clone()).to_path_buf(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling compiler v2.1.2 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> compiler/src/circuit_design/circuit.rs:459:42 [INFO] [stdout] | [INFO] [stdout] 459 | let js_folder_path = Path::new(js_folder.clone()).to_path_buf(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> parser/src/errors.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AnonymousCompError{ [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 93 | pub location: FileLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> parser/src/errors.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct TupleError{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 131 | pub location: FileLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> parser/src/include_logic.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | file.clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parser v2.1.1 (/opt/rustwide/workdir/parser) [INFO] [stderr] Compiling constraint_generation v2.1.1 (/opt/rustwide/workdir/constraint_generation) [INFO] [stderr] Compiling circom v2.1.2 (/opt/rustwide/workdir/circom) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> dag/src/lib.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(dag: &DAG) -> Tree { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(dag: &DAG) -> Tree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `round_id` is never read [INFO] [stdout] --> constraint_list/src/constraint_simplification.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | round_id += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InstructionPointer` and `Instruction` [INFO] [stdout] --> compiler/src/intermediate_representation/mod.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub use ir_interface::{Instruction, InstructionList, InstructionPointer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> program_structure/src/utils/memory_slice.rs:354:19 [INFO] [stdout] | [INFO] [stdout] 354 | let res = U32Slice::insert_values(&mut slice, &[2], &new_row); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------------------- argument #4 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> program_structure/src/utils/memory_slice.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn insert_values( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | is_strict:bool, [INFO] [stdout] | -------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 354 | let res = U32Slice::insert_values(&mut slice, &[2], &new_row, /* bool */); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `program_structure` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `CheckCompute` is never used [INFO] [stdout] --> compiler/src/intermediate_representation/ir_interface.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait CheckCompute { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> compiler/src/hir/analysis_utilities.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GenericFunction { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> compiler/src/circuit_design/circuit.rs:445:40 [INFO] [stdout] | [INFO] [stdout] 445 | let c_folder_path = Path::new(c_folder.clone()).to_path_buf(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> compiler/src/circuit_design/circuit.rs:459:42 [INFO] [stdout] | [INFO] [stdout] 459 | let js_folder_path = Path::new(js_folder.clone()).to_path_buf(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> parser/src/errors.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct AnonymousCompError{ [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 93 | pub location: FileLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> parser/src/errors.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct TupleError{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 131 | pub location: FileLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> parser/src/include_logic.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | file.clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "721ce98ba33101b52f10d456679665f2d7f0de240c32209f38d76624bb8e7427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "721ce98ba33101b52f10d456679665f2d7f0de240c32209f38d76624bb8e7427", kill_on_drop: false }` [INFO] [stdout] 721ce98ba33101b52f10d456679665f2d7f0de240c32209f38d76624bb8e7427