[INFO] cloning repository https://github.com/aehrfbszer/my-rustlings-solutions
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aehrfbszer/my-rustlings-solutions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faehrfbszer%2Fmy-rustlings-solutions", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faehrfbszer%2Fmy-rustlings-solutions'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f6af7f72b1daa356c1e289daacf42abdaa4e668e
[INFO] checking aehrfbszer/my-rustlings-solutions against c60b92c03ca8a3b101eb9d57f51e2232690638c7 for pr-164148-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faehrfbszer%2Fmy-rustlings-solutions" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aehrfbszer/my-rustlings-solutions
[INFO] finished tweaking git repo https://github.com/aehrfbszer/my-rustlings-solutions
[INFO] tweaked toml for git repo https://github.com/aehrfbszer/my-rustlings-solutions written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aehrfbszer/my-rustlings-solutions on toolchain c60b92c03ca8a3b101eb9d57f51e2232690638c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aehrfbszer/my-rustlings-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" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d9235d23349aafe117ab39ccb999112f1ccfcea38c67d0fb584510bd601f79a0
[INFO] running `Command { std: "docker" "start" "d9235d23349aafe117ab39ccb999112f1ccfcea38c67d0fb584510bd601f79a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d9235d23349aafe117ab39ccb999112f1ccfcea38c67d0fb584510bd601f79a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d9235d23349aafe117ab39ccb999112f1ccfcea38c67d0fb584510bd601f79a0" "/opt/rustwide/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d9235d23349aafe117ab39ccb999112f1ccfcea38c67d0fb584510bd601f79a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d9235d23349aafe117ab39ccb999112f1ccfcea38c67d0fb584510bd601f79a0" "/opt/rustwide/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Package` is never constructed
[INFO] [stdout]  --> solutions/07_structs/structs3.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Package {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_international`, and `get_fees` are never used
[INFO] [stdout]   --> solutions/07_structs/structs3.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Package {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  9 |     fn new(sender_country: String, recipient_country: String, weight_in_grams: u32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn is_international(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn get_fees(&self, cents_per_gram: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_first` is never used
[INFO] [stdout]  --> exercises/18_iterators/iterators2.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn capitalize_first(input: &str) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_words_vector` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators2.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn capitalize_words_vector(words: &[&str]) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_words_string` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators2.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn capitalize_words_string(words: &[&str]) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_vec` is never used
[INFO] [stdout]  --> solutions/06_move_semantics/move_semantics1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fill_vec(vec: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial` is never used
[INFO] [stdout]  --> exercises/18_iterators/iterators4.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn factorial(num: u64) -> u64 {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Command` is never used
[INFO] [stdout]   --> exercises/quizzes/quiz2.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | enum Command {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transformer` is never used
[INFO] [stdout]   --> exercises/quizzes/quiz2.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn transformer(input: Vec<(String, Command)>) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_vec` is never used
[INFO] [stdout]  --> solutions/06_move_semantics/move_semantics3.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fill_vec(mut vec: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str` strings4_sol
[INFO] [stdout]   --> solutions/09_strings/strings4.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |     string_slice("nice weather".into());
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 25 -     string_slice("nice weather".into());
[INFO] [stdout] 25 +     string_slice("nice weather");
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 25 -     string_slice("nice weather".into());
[INFO] [stdout] 25 +     string_slice(<&str as Into<_>>::into("nice weather"));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_nametag_text` is never used
[INFO] [stdout]  --> solutions/13_error_handling/errors1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn generate_nametag_text(name: String) -> Result<String, String> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]  --> exercises/16_lifetimes/lifetimes1.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `power_of_2` is never used
[INFO] [stdout]  --> solutions/17_tests/tests2.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn power_of_2(n: u8) -> u64 {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "strings4_sol" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: struct `Wrapper` is never constructed
[INFO] [stdout]  --> solutions/14_generics/generics2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Wrapper<T> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> solutions/14_generics/generics2.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl<T> Wrapper<T> {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 6 |     fn new(value: T) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d9235d23349aafe117ab39ccb999112f1ccfcea38c67d0fb584510bd601f79a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9235d23349aafe117ab39ccb999112f1ccfcea38c67d0fb584510bd601f79a0", kill_on_drop: false }`
[INFO] [stdout] d9235d23349aafe117ab39ccb999112f1ccfcea38c67d0fb584510bd601f79a0
