[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#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapsterZ4%2Frust_projects" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NapsterZ4/rust_projects on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-4/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b4a8ace36519edf702a219087a90fc9835fe233ef5ae9a0406eb0fd8cbedb766 [INFO] running `Command { std: "docker" "start" "-a" "b4a8ace36519edf702a219087a90fc9835fe233ef5ae9a0406eb0fd8cbedb766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4a8ace36519edf702a219087a90fc9835fe233ef5ae9a0406eb0fd8cbedb766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4a8ace36519edf702a219087a90fc9835fe233ef5ae9a0406eb0fd8cbedb766", kill_on_drop: false }` [INFO] [stdout] b4a8ace36519edf702a219087a90fc9835fe233ef5ae9a0406eb0fd8cbedb766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0884c28cd476fd020a1edb211f65ac0b612147e369c092d77cf489418bbcf809 [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" "0884c28cd476fd020a1edb211f65ac0b612147e369c092d77cf489418bbcf809", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking object v0.21.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [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[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[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[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]: `&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]: `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" "0884c28cd476fd020a1edb211f65ac0b612147e369c092d77cf489418bbcf809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0884c28cd476fd020a1edb211f65ac0b612147e369c092d77cf489418bbcf809", kill_on_drop: false }` [INFO] [stdout] 0884c28cd476fd020a1edb211f65ac0b612147e369c092d77cf489418bbcf809