[INFO] cloning repository https://github.com/joaquinlpereyra/crypto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joaquinlpereyra/crypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaquinlpereyra%2Fcrypto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaquinlpereyra%2Fcrypto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7cf706bfc742df49eaec99873b45cf037a6af32 [INFO] checking joaquinlpereyra/crypto against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaquinlpereyra%2Fcrypto" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joaquinlpereyra/crypto on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joaquinlpereyra/crypto [INFO] finished tweaking git repo https://github.com/joaquinlpereyra/crypto [INFO] tweaked toml for git repo https://github.com/joaquinlpereyra/crypto written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/joaquinlpereyra/crypto already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d03c716f14ddeccf031239fffd0d9975224a6226a09bceb8a2fe852f15997707 [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" "d03c716f14ddeccf031239fffd0d9975224a6226a09bceb8a2fe852f15997707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d03c716f14ddeccf031239fffd0d9975224a6226a09bceb8a2fe852f15997707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d03c716f14ddeccf031239fffd0d9975224a6226a09bceb8a2fe852f15997707", kill_on_drop: false }` [INFO] [stdout] d03c716f14ddeccf031239fffd0d9975224a6226a09bceb8a2fe852f15997707 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d3deedbe4abc36ed9b6e7d220f57ae44e601f6942e87538ddcb9f4d0b2ea8e6 [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" "4d3deedbe4abc36ed9b6e7d220f57ae44e601f6942e87538ddcb9f4d0b2ea8e6", kill_on_drop: false }` [INFO] [stderr] Checking crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/encoding/cookies.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | let mut expected = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 | use crate::frequency::HashMap; [INFO] [stdout] | [INFO] [stdout] 68 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/encoding/cookies.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | let expected = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 68 | use crate::frequency::HashMap; [INFO] [stdout] | [INFO] [stdout] 68 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoding/cookies.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let map = decode(String::from("v1=k1&v2=k2")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&String::from("v1=k1&v2=k2")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoding/cookies.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | let map = decode(String::from("")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&String::from("")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/symm/aes/mod.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | other => panic!(format!("impossible key length: {}", other)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 30 | other => panic!("impossible key length: {}", other), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto` [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] [stdout] warning: unused import: `cookies` [INFO] [stdout] --> src/main.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crypto::encoding::{base64, cookies, hex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, BufRead, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cookies` [INFO] [stdout] --> src/main.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crypto::encoding::{base64, cookies, hex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, BufRead, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret` [INFO] [stdout] --> src/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | let secret = oracle(""); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret` [INFO] [stdout] --> src/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | let secret = oracle(""); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4d3deedbe4abc36ed9b6e7d220f57ae44e601f6942e87538ddcb9f4d0b2ea8e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3deedbe4abc36ed9b6e7d220f57ae44e601f6942e87538ddcb9f4d0b2ea8e6", kill_on_drop: false }` [INFO] [stdout] 4d3deedbe4abc36ed9b6e7d220f57ae44e601f6942e87538ddcb9f4d0b2ea8e6