[INFO] cloning repository https://github.com/NapsterZ4/rust_projects [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NapsterZ4/rust_projects" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapsterZ4%2Frust_projects", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapsterZ4%2Frust_projects'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ee2d090c1b1a288f9514f4dc4e63c17063e15f2 [INFO] checking NapsterZ4/rust_projects against master#c9228570668803e3e6402770d55f23a12c9ae686 for pr-79472 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapsterZ4%2Frust_projects" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NapsterZ4/rust_projects on toolchain c9228570668803e3e6402770d55f23a12c9ae686 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NapsterZ4/rust_projects [INFO] finished tweaking git repo https://github.com/NapsterZ4/rust_projects [INFO] tweaked toml for git repo https://github.com/NapsterZ4/rust_projects written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/NapsterZ4/rust_projects already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "fetch" "--locked" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff9431841d8867a7d6d73615d16ac8b56106399da59fd952114528400eae74c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff9431841d8867a7d6d73615d16ac8b56106399da59fd952114528400eae74c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff9431841d8867a7d6d73615d16ac8b56106399da59fd952114528400eae74c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff9431841d8867a7d6d73615d16ac8b56106399da59fd952114528400eae74c4", kill_on_drop: false }` [INFO] [stdout] ff9431841d8867a7d6d73615d16ac8b56106399da59fd952114528400eae74c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c9228570668803e3e6402770d55f23a12c9ae686" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92e912452e370dd17be0526e70f0b412d0d8833fd79f27f90088c6c4fa1516ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "92e912452e370dd17be0526e70f0b412d0d8833fd79f27f90088c6c4fa1516ed", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.53 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking ferris-says v0.2.0 [INFO] [stderr] Checking one_time_pad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::arch::x86` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::arch::x86::_mm256_blend_epi16; [INFO] [stdout] | ^^^ could not find `x86` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::arch::x86` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::arch::x86::_mm256_blend_epi16; [INFO] [stdout] | ^^^ could not find `x86` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `str` [INFO] [stdout] --> src/main.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | mod_exp; second_half; str(hard_code_bit) [INFO] [stdout] | ^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | (k.pow(2) - 2(k) + 7) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `str` [INFO] [stdout] --> src/main.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | mod_exp; second_half; str(hard_code_bit) [INFO] [stdout] | ^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | (k.pow(2) - 2(k) + 7) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `{integer}` [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | (k.pow(2) - 2(k) + 7) [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `{integer}` [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | (k.pow(2) - 2(k) + 7) [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `pow` on ambiguous numeric type `{integer}` [INFO] [stdout] --> src/main.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let mut mod_exp: i8 = 2.pow(first_half.parse().unwrap()) % MODULUS; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 22 | let mut mod_exp: i8 = 2_i32.pow(first_half.parse().unwrap()) % MODULUS; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `pow` on ambiguous numeric type `{integer}` [INFO] [stdout] --> src/main.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let mut mod_exp: i8 = 2.pow(first_half.parse().unwrap()) % MODULUS; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 22 | let mut mod_exp: i8 = 2_i32.pow(first_half.parse().unwrap()) % MODULUS; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&str` is not an iterator [INFO] [stdout] --> src/main.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | for i in first_half { [INFO] [stdout] | ^^^^^^^^^^ `&str` is not an iterator; try calling `.chars()` or `.bytes()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `&str` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `&str` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `i32` is not an iterator [INFO] [stdout] --> src/main.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | for i in l(SEED_SIZE){ [INFO] [stdout] | ^^^^^^^^^^^^ `i32` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `i32` [INFO] [stdout] = note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `i32` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&str` is not an iterator [INFO] [stdout] --> src/main.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | for i in first_half { [INFO] [stdout] | ^^^^^^^^^^ `&str` is not an iterator; try calling `.chars()` or `.bytes()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `&str` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `&str` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `i32` is not an iterator [INFO] [stdout] --> src/main.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | for i in l(SEED_SIZE){ [INFO] [stdout] | ^^^^^^^^^^^^ `i32` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `i32` [INFO] [stdout] = note: if you want to iterate between `start` until a value `end`, use the exclusive range syntax `start..end` or the inclusive range syntax `start..=end` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `i32` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | binary_string = h_fn(first_half, second_half); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | binary_string = h_fn(first_half, second_half); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0432, E0618, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0432, E0618, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `one_time_pad` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "92e912452e370dd17be0526e70f0b412d0d8833fd79f27f90088c6c4fa1516ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e912452e370dd17be0526e70f0b412d0d8833fd79f27f90088c6c4fa1516ed", kill_on_drop: false }` [INFO] [stdout] 92e912452e370dd17be0526e70f0b412d0d8833fd79f27f90088c6c4fa1516ed