[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/4678796bdf6fe38a121eaae4e6c4fa2354a1fb9b against master#2ca7bcd03b87b52f7055a59b817443b0ac4a530d for pr-150322
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnarayn60%2Fmatasano-solutions" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/narayn60/matasano-solutions on toolchain 2ca7bcd03b87b52f7055a59b817443b0ac4a530d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "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" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "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: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c22aa2e1f89267818750ec6922bff7a422f20d2ba943b16f5ffbab012cf25cb6
[INFO] running `Command { std: "docker" "start" "-a" "c22aa2e1f89267818750ec6922bff7a422f20d2ba943b16f5ffbab012cf25cb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c22aa2e1f89267818750ec6922bff7a422f20d2ba943b16f5ffbab012cf25cb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c22aa2e1f89267818750ec6922bff7a422f20d2ba943b16f5ffbab012cf25cb6", kill_on_drop: false }`
[INFO] [stdout] c22aa2e1f89267818750ec6922bff7a422f20d2ba943b16f5ffbab012cf25cb6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+2ca7bcd03b87b52f7055a59b817443b0ac4a530d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31eaf547fa732c91d1654dcf6524222677284d638b9155b309dab597374b6020
[INFO] running `Command { std: "docker" "start" "-a" "31eaf547fa732c91d1654dcf6524222677284d638b9155b309dab597374b6020", 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: no edition set: defaulting to the 2015 edition 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[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("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368...
[INFO] [stdout]   |                                    ^^^^^^^^ function or associated item 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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 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] 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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 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] 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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 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] 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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 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] 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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: 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[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[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 unresolved module or unlinked crate `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 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] [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("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368...
[INFO] [stdout]   |                                    ^^^^^^^^ function or associated item 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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 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] 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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] [stderr] error: could not compile `Set1` (bin "Set1") due to 11 previous errors
[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] 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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] [stderr] warning: build failed, waiting for other jobs to finish...
[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] 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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 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] 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/2ca7bcd03b87b52f7055a59b817443b0ac4a530d/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]: failed to resolve: use of unresolved module or unlinked crate `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 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" "31eaf547fa732c91d1654dcf6524222677284d638b9155b309dab597374b6020", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31eaf547fa732c91d1654dcf6524222677284d638b9155b309dab597374b6020", kill_on_drop: false }`
[INFO] [stdout] 31eaf547fa732c91d1654dcf6524222677284d638b9155b309dab597374b6020
