[INFO] cloning repository https://github.com/narayn60/matasano-solutions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/narayn60/matasano-solutions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarayn60%2Fmatasano-solutions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarayn60%2Fmatasano-solutions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4678796bdf6fe38a121eaae4e6c4fa2354a1fb9b [INFO] testing narayn60/matasano-solutions against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarayn60%2Fmatasano-solutions" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/narayn60/matasano-solutions on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/narayn60/matasano-solutions [INFO] finished tweaking git repo https://github.com/narayn60/matasano-solutions [INFO] tweaked toml for git repo https://github.com/narayn60/matasano-solutions written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/narayn60/matasano-solutions already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-9/source/src/Set1.rs` was erroneously implicitly accepted for binary `Set1`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] e6b984628985ebe9ea33f196e64dd9e16a7dd7106a10ec2b6ad456d454963071 [INFO] running `Command { std: "docker" "start" "-a" "e6b984628985ebe9ea33f196e64dd9e16a7dd7106a10ec2b6ad456d454963071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6b984628985ebe9ea33f196e64dd9e16a7dd7106a10ec2b6ad456d454963071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b984628985ebe9ea33f196e64dd9e16a7dd7106a10ec2b6ad456d454963071", kill_on_drop: false }` [INFO] [stdout] e6b984628985ebe9ea33f196e64dd9e16a7dd7106a10ec2b6ad456d454963071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] e686f0c5c317fa7f4006e7b8d603f4e29fd033eff60a248a57b476e5df8962c2 [INFO] running `Command { std: "docker" "start" "-a" "e686f0c5c317fa7f4006e7b8d603f4e29fd033eff60a248a57b476e5df8962c2", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/Set1.rs` was erroneously implicitly accepted for binary `Set1`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling Set1 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/Set1.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use serialize::base64::{mod, ToBase64}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 3 | use serialize::base64::{r#mod, ToBase64}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/Set1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base64` [INFO] [stdout] --> src/Set1.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | let output_base64 = input_hex.from_hex().unwrap().as_slice().to_base64(base64::STANDARD); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `base64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/Set1.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | let challenge_string = String::from_str("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f... [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/Set1.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | let mut expected = String::from_str("SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/Set1.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | expected = String::from_str("746865206b696420646f6e277420706c6179"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/Set1.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let challenge_string1 = String::from_str("1c0111001f010100061a024b53535009181c"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/Set1.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let challenge_string2 = String::from_str("686974207468652062756c6c277320657965"); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_hex` found for struct `String` in the current scope [INFO] [stdout] --> src/Set1.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | let output_base64 = input_hex.from_hex().unwrap().as_slice().to_base64(base64::STANDARD); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_hex` found for struct `String` in the current scope [INFO] [stdout] --> src/Set1.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let string_1 = string_1.from_hex().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_hex` found for struct `String` in the current scope [INFO] [stdout] --> src/Set1.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | let string_2 = string_2.from_hex().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Set1` due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "e686f0c5c317fa7f4006e7b8d603f4e29fd033eff60a248a57b476e5df8962c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e686f0c5c317fa7f4006e7b8d603f4e29fd033eff60a248a57b476e5df8962c2", kill_on_drop: false }` [INFO] [stdout] e686f0c5c317fa7f4006e7b8d603f4e29fd033eff60a248a57b476e5df8962c2