[INFO] cloning repository https://github.com/AnharHussainMiah/qr64 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnharHussainMiah/qr64" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnharHussainMiah%2Fqr64", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnharHussainMiah%2Fqr64'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd04f883efcf0850395ebe3bca2b5d27f0ef70b8 [INFO] checking AnharHussainMiah/qr64 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnharHussainMiah%2Fqr64" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnharHussainMiah/qr64 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnharHussainMiah/qr64 [INFO] finished tweaking git repo https://github.com/AnharHussainMiah/qr64 [INFO] tweaked toml for git repo https://github.com/AnharHussainMiah/qr64 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AnharHussainMiah/qr64 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3e10c57e72ae7835e9b1820c75883c6707c6f605a86a8afe0638815aecadfd6 [INFO] running `Command { std: "docker" "start" "-a" "e3e10c57e72ae7835e9b1820c75883c6707c6f605a86a8afe0638815aecadfd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3e10c57e72ae7835e9b1820c75883c6707c6f605a86a8afe0638815aecadfd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3e10c57e72ae7835e9b1820c75883c6707c6f605a86a8afe0638815aecadfd6", kill_on_drop: false }` [INFO] [stdout] e3e10c57e72ae7835e9b1820c75883c6707c6f605a86a8afe0638815aecadfd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45017db97d1a5248252745b85f12fbd128a086c95dee192a43260cd5c7a8adbe [INFO] running `Command { std: "docker" "start" "-a" "45017db97d1a5248252745b85f12fbd128a086c95dee192a43260cd5c7a8adbe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking qr64 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | for i in 0..shots { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | sum + f64::powf((*amplitute).into(), 2.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | z0: f64::powf(state_vector[0].into(), 2.0) + f64::powf(state_vector[1].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:109:64 [INFO] [stdout] | [INFO] [stdout] 109 | z0: f64::powf(state_vector[0].into(), 2.0) + f64::powf(state_vector[1].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | z1: f64::powf(state_vector[2].into(), 2.0) + f64::powf(state_vector[3].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:110:64 [INFO] [stdout] | [INFO] [stdout] 110 | z1: f64::powf(state_vector[2].into(), 2.0) + f64::powf(state_vector[3].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | z2: f64::powf(state_vector[4].into(), 2.0) + f64::powf(state_vector[5].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | z2: f64::powf(state_vector[4].into(), 2.0) + f64::powf(state_vector[5].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | z3: f64::powf(state_vector[6].into(), 2.0) + f64::powf(state_vector[7].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:112:64 [INFO] [stdout] | [INFO] [stdout] 112 | z3: f64::powf(state_vector[6].into(), 2.0) + f64::powf(state_vector[7].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | sum + f64::powf((*amplitute).into(), 2.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | std::io::stdin().read_line(&mut input); [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] 14 | let _ = std::io::stdin().read_line(&mut input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | state_vector.into_iter().map(|&mut e| e / norm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = state_vector.into_iter().map(|&mut e| e / norm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qr64` (bin "qr64") due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | for i in 0..shots { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | sum + f64::powf((*amplitute).into(), 2.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | z0: f64::powf(state_vector[0].into(), 2.0) + f64::powf(state_vector[1].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:109:64 [INFO] [stdout] | [INFO] [stdout] 109 | z0: f64::powf(state_vector[0].into(), 2.0) + f64::powf(state_vector[1].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | z1: f64::powf(state_vector[2].into(), 2.0) + f64::powf(state_vector[3].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:110:64 [INFO] [stdout] | [INFO] [stdout] 110 | z1: f64::powf(state_vector[2].into(), 2.0) + f64::powf(state_vector[3].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | z2: f64::powf(state_vector[4].into(), 2.0) + f64::powf(state_vector[5].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | z2: f64::powf(state_vector[4].into(), 2.0) + f64::powf(state_vector[5].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | z3: f64::powf(state_vector[6].into(), 2.0) + f64::powf(state_vector[7].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:112:64 [INFO] [stdout] | [INFO] [stdout] 112 | z3: f64::powf(state_vector[6].into(), 2.0) + f64::powf(state_vector[7].into(), 2.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/main.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | sum + f64::powf((*amplitute).into(), 2.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | std::io::stdin().read_line(&mut input); [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] 14 | let _ = std::io::stdin().read_line(&mut input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | state_vector.into_iter().map(|&mut e| e / norm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = state_vector.into_iter().map(|&mut e| e / norm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qr64` (bin "qr64" test) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "45017db97d1a5248252745b85f12fbd128a086c95dee192a43260cd5c7a8adbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45017db97d1a5248252745b85f12fbd128a086c95dee192a43260cd5c7a8adbe", kill_on_drop: false }` [INFO] [stdout] 45017db97d1a5248252745b85f12fbd128a086c95dee192a43260cd5c7a8adbe