[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] checking narayn60/matasano-solutions against try#5f6abd89da253a562ad85d235b9342a3ac336c28 for pr-156114-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarayn60%2Fmatasano-solutions" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/narayn60/matasano-solutions on toolchain 5f6abd89da253a562ad85d235b9342a3ac336c28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/narayn60/matasano-solutions 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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: path `src/Set1.rs` was erroneously implicitly accepted for binary `Set1`,
[INFO] [stderr] please set bin.path in Cargo.toml
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7f590726b62b557d768b7e019e9316e0bc07b9e93ab33655a789f2d92210eef0
[INFO] running `Command { std: "docker" "start" "-a" "7f590726b62b557d768b7e019e9316e0bc07b9e93ab33655a789f2d92210eef0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f590726b62b557d768b7e019e9316e0bc07b9e93ab33655a789f2d92210eef0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f590726b62b557d768b7e019e9316e0bc07b9e93ab33655a789f2d92210eef0", kill_on_drop: false }`
[INFO] [stdout] 7f590726b62b557d768b7e019e9316e0bc07b9e93ab33655a789f2d92210eef0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f89cf06739be4f8582603cbe49f97e859c5b890d6cc8cd6dbd58ef6c8020c312
[INFO] running `Command { std: "docker" "start" "-a" "f89cf06739be4f8582603cbe49f97e859c5b890d6cc8cd6dbd58ef6c8020c312", kill_on_drop: false }`
[INFO] [stderr] warning: path `src/Set1.rs` was erroneously implicitly accepted for binary `Set1`,
[INFO] [stderr] please set bin.path in Cargo.toml
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking 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: 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[E0599]: no associated function or constant 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("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368...
[INFO] [stdout]   |                                    ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]   |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]  --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::str::FromStr;
[INFO] [stdout]   |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 9 -     let challenge_string = String::from_str("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d");
[INFO] [stdout] 9 +     let challenge_string = String::from("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d");
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]    |                                ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 10 -     let mut expected = String::from_str("SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t");
[INFO] [stdout] 10 +     let mut expected = String::from("SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]    |                        ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 16 -     expected = String::from_str("746865206b696420646f6e277420706c6179");
[INFO] [stdout] 16 +     expected = String::from("746865206b696420646f6e277420706c6179");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]    |                                     ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 17 -     let challenge_string1 = String::from_str("1c0111001f010100061a024b53535009181c");
[INFO] [stdout] 17 +     let challenge_string1 = String::from("1c0111001f010100061a024b53535009181c");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]    |                                     ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 -     let challenge_string2 = String::from_str("686974207468652062756c6c277320657965");
[INFO] [stdout] 18 +     let challenge_string2 = String::from("686974207468652062756c6c277320657965");
[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[E0433]: cannot find module or crate `base64` in this scope
[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 unresolved module or unlinked crate `base64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml`
[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] 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` (bin "Set1") due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no associated function or constant 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("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368...
[INFO] [stdout]   |                                    ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]   |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]  --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::str::FromStr;
[INFO] [stdout]   |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 9 -     let challenge_string = String::from_str("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d");
[INFO] [stdout] 9 +     let challenge_string = String::from("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d");
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]    |                                ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 10 -     let mut expected = String::from_str("SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t");
[INFO] [stdout] 10 +     let mut expected = String::from("SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]    |                        ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 16 -     expected = String::from_str("746865206b696420646f6e277420706c6179");
[INFO] [stdout] 16 +     expected = String::from("746865206b696420646f6e277420706c6179");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]    |                                     ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 17 -     let challenge_string1 = String::from_str("1c0111001f010100061a024b53535009181c");
[INFO] [stdout] 17 +     let challenge_string1 = String::from("1c0111001f010100061a024b53535009181c");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant 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]    |                                     ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/5f6abd89da253a562ad85d235b9342a3ac336c28/library/alloc/src/string.rs:437:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 -     let challenge_string2 = String::from_str("686974207468652062756c6c277320657965");
[INFO] [stdout] 18 +     let challenge_string2 = String::from("686974207468652062756c6c277320657965");
[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[E0433]: cannot find module or crate `base64` in this scope
[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 unresolved module or unlinked crate `base64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml`
[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] 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` (bin "Set1" test) due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "f89cf06739be4f8582603cbe49f97e859c5b890d6cc8cd6dbd58ef6c8020c312", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f89cf06739be4f8582603cbe49f97e859c5b890d6cc8cd6dbd58ef6c8020c312", kill_on_drop: false }`
[INFO] [stdout] f89cf06739be4f8582603cbe49f97e859c5b890d6cc8cd6dbd58ef6c8020c312
