[INFO] cloning repository https://github.com/rishotics/halo2-hamming-distance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rishotics/halo2-hamming-distance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishotics%2Fhalo2-hamming-distance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishotics%2Fhalo2-hamming-distance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b80961820c4921103580c9a780c5c0d69e696ac [INFO] testing rishotics/halo2-hamming-distance against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishotics%2Fhalo2-hamming-distance" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rishotics/halo2-hamming-distance on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rishotics/halo2-hamming-distance [INFO] finished tweaking git repo https://github.com/rishotics/halo2-hamming-distance [INFO] tweaked toml for git repo https://github.com/rishotics/halo2-hamming-distance written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rishotics/halo2-hamming-distance 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded freetype v0.7.1 [INFO] [stderr] Downloaded plotters-bitmap v0.3.3 [INFO] [stderr] Downloaded pathfinder_simd v0.5.2 [INFO] [stderr] Downloaded halo2_proofs v0.3.0 [INFO] [stderr] Downloaded ttf-parser v0.17.1 [INFO] [stderr] Downloaded freetype-sys v0.19.0 [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 566364df03b51984489d5cda82219c67f0d7d108b37f8752e753e8dc4d722668 [INFO] running `Command { std: "docker" "start" "-a" "566364df03b51984489d5cda82219c67f0d7d108b37f8752e753e8dc4d722668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "566364df03b51984489d5cda82219c67f0d7d108b37f8752e753e8dc4d722668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "566364df03b51984489d5cda82219c67f0d7d108b37f8752e753e8dc4d722668", kill_on_drop: false }` [INFO] [stdout] 566364df03b51984489d5cda82219c67f0d7d108b37f8752e753e8dc4d722668 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19e6bb1792bd7b871f5f86357ed658bf6b6c664fcd087495a0a92b9c25d370f4 [INFO] running `Command { std: "docker" "start" "-a" "19e6bb1792bd7b871f5f86357ed658bf6b6c664fcd087495a0a92b9c25d370f4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.90 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling pathfinder_simd v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v3.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling freetype-sys v0.19.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling font-kit v0.11.0 [INFO] [stderr] Compiling bytemuck v1.14.1 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling const-cstr v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling plotters-bitmap v0.3.3 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ttf-parser v0.17.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pasta_curves v0.5.1 [INFO] [stderr] Compiling tabbycat v0.1.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Compiling js-sys v0.3.67 [INFO] [stderr] Compiling freetype v0.7.1 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling halo2_proofs v0.3.0 [INFO] [stderr] Compiling halo2_hammster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `f32::consts::E` [INFO] [stdout] --> src/hamming.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | f32::consts::E, marker::PhantomData [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Region` and `metadata::Constraint` [INFO] [stdout] --> src/hamming.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | dev::{metadata::Constraint, MockProver}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | circuit::{Layouter, Chip, Value, AssignedCell, Region, SimpleFloorPlanner}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/hamming.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | / ///Two questions: [INFO] [stdout] 184 | | /// 1. why 0 offset always? why cant we pass i as offset? [INFO] [stdout] 185 | | /// 2. How copy advice from a and b ? [INFO] [stdout] 186 | | /// Answer2: so basically a: Self::Num and Number =Num and Number.0 is AssignedCell and AssignedCell has copy_advice method [INFO] [stdout] | |_________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 187 | let a_value = a.0.copy_advice(|| "left val", &mut regoin, config.advice[0], 0)?; [INFO] [stdout] | -------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hamming.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | config.s_xor.enable(&mut regoin, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | let _ = config.s_xor.enable(&mut regoin, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hamming.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | config.s_accumulator.enable(&mut region, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 202 | let _ = config.s_accumulator.enable(&mut region, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "19e6bb1792bd7b871f5f86357ed658bf6b6c664fcd087495a0a92b9c25d370f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e6bb1792bd7b871f5f86357ed658bf6b6c664fcd087495a0a92b9c25d370f4", kill_on_drop: false }` [INFO] [stdout] 19e6bb1792bd7b871f5f86357ed658bf6b6c664fcd087495a0a92b9c25d370f4 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd29b6c17ba013866e08c2697604a20290ce8a2b26b66a625b3416d5805bce90 [INFO] running `Command { std: "docker" "start" "-a" "cd29b6c17ba013866e08c2697604a20290ce8a2b26b66a625b3416d5805bce90", kill_on_drop: false }` [INFO] [stderr] Compiling halo2_hammster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `f32::consts::E` [INFO] [stdout] --> src/hamming.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | f32::consts::E, marker::PhantomData [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Region` and `metadata::Constraint` [INFO] [stdout] --> src/hamming.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | dev::{metadata::Constraint, MockProver}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | circuit::{Layouter, Chip, Value, AssignedCell, Region, SimpleFloorPlanner}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/hamming.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | / ///Two questions: [INFO] [stdout] 184 | | /// 1. why 0 offset always? why cant we pass i as offset? [INFO] [stdout] 185 | | /// 2. How copy advice from a and b ? [INFO] [stdout] 186 | | /// Answer2: so basically a: Self::Num and Number =Num and Number.0 is AssignedCell and AssignedCell has copy_advice method [INFO] [stdout] | |_________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 187 | let a_value = a.0.copy_advice(|| "left val", &mut regoin, config.advice[0], 0)?; [INFO] [stdout] | -------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hamming.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | config.s_xor.enable(&mut regoin, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | let _ = config.s_xor.enable(&mut regoin, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hamming.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | config.s_accumulator.enable(&mut region, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 202 | let _ = config.s_accumulator.enable(&mut region, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f32::consts::E` [INFO] [stdout] --> src/hamming.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | f32::consts::E, marker::PhantomData [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Region` and `metadata::Constraint` [INFO] [stdout] --> src/hamming.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | dev::{metadata::Constraint, MockProver}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | circuit::{Layouter, Chip, Value, AssignedCell, Region, SimpleFloorPlanner}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/hamming.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | / ///Two questions: [INFO] [stdout] 184 | | /// 1. why 0 offset always? why cant we pass i as offset? [INFO] [stdout] 185 | | /// 2. How copy advice from a and b ? [INFO] [stdout] 186 | | /// Answer2: so basically a: Self::Num and Number =Num and Number.0 is AssignedCell and AssignedCell has copy_advice method [INFO] [stdout] | |_________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 187 | let a_value = a.0.copy_advice(|| "left val", &mut regoin, config.advice[0], 0)?; [INFO] [stdout] | -------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hamming.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | config.s_xor.enable(&mut regoin, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | let _ = config.s_xor.enable(&mut regoin, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hamming.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | config.s_accumulator.enable(&mut region, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 202 | let _ = config.s_accumulator.enable(&mut region, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "cd29b6c17ba013866e08c2697604a20290ce8a2b26b66a625b3416d5805bce90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd29b6c17ba013866e08c2697604a20290ce8a2b26b66a625b3416d5805bce90", kill_on_drop: false }` [INFO] [stdout] cd29b6c17ba013866e08c2697604a20290ce8a2b26b66a625b3416d5805bce90 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 738fd2f431575585a01e2a7859adfc520e8be5c9b2dde0b83f30e5cfc2dc9c08 [INFO] running `Command { std: "docker" "start" "-a" "738fd2f431575585a01e2a7859adfc520e8be5c9b2dde0b83f30e5cfc2dc9c08", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `f32::consts::E` [INFO] [stderr] --> src/hamming.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | f32::consts::E, marker::PhantomData [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Region` and `metadata::Constraint` [INFO] [stderr] --> src/hamming.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | dev::{metadata::Constraint, MockProver}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | circuit::{Layouter, Chip, Value, AssignedCell, Region, SimpleFloorPlanner}, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/hamming.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | / ///Two questions: [INFO] [stderr] 184 | | /// 1. why 0 offset always? why cant we pass i as offset? [INFO] [stderr] 185 | | /// 2. How copy advice from a and b ? [INFO] [stderr] 186 | | /// Answer2: so basically a: Self::Num and Number =Num and Number.0 is AssignedCell and AssignedCell has copy_advice method [INFO] [stderr] | |_________________________________________________________________________________________________________________________________________________^ [INFO] [stderr] 187 | let a_value = a.0.copy_advice(|| "left val", &mut regoin, config.advice[0], 0)?; [INFO] [stderr] | -------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/hamming.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | config.s_xor.enable(&mut regoin, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 181 | let _ = config.s_xor.enable(&mut regoin, 0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/hamming.rs:202:13 [INFO] [stderr] | [INFO] [stderr] 202 | config.s_accumulator.enable(&mut region, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 202 | let _ = config.s_accumulator.enable(&mut region, 0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `halo2_hammster` (lib) generated 5 warnings (run `cargo fix --lib -p halo2_hammster` to apply 2 suggestions) [INFO] [stderr] warning: `halo2_hammster` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hamming-390e52fa6a5f1707) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/halo2_hammster-926a65ed1795024c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hamming [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "738fd2f431575585a01e2a7859adfc520e8be5c9b2dde0b83f30e5cfc2dc9c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738fd2f431575585a01e2a7859adfc520e8be5c9b2dde0b83f30e5cfc2dc9c08", kill_on_drop: false }` [INFO] [stdout] 738fd2f431575585a01e2a7859adfc520e8be5c9b2dde0b83f30e5cfc2dc9c08