[INFO] cloning repository https://github.com/aussiechris/rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aussiechris/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faussiechris%2Frustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faussiechris%2Frustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 97cfef23bb0e0540f9e5e05cd49507f54290b595
[INFO] checking aussiechris/rustlings against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faussiechris%2Frustlings" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aussiechris/rustlings
[INFO] finished tweaking git repo https://github.com/aussiechris/rustlings
[INFO] tweaked toml for git repo https://github.com/aussiechris/rustlings written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aussiechris/rustlings on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aussiechris/rustlings 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c579b66ceca8b7b6524ba796ea08fba9f944abc67d27ad95b0d561ce2317e8ad
[INFO] running `Command { std: "docker" "start" "c579b66ceca8b7b6524ba796ea08fba9f944abc67d27ad95b0d561ce2317e8ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c579b66ceca8b7b6524ba796ea08fba9f944abc67d27ad95b0d561ce2317e8ad", 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" "c579b66ceca8b7b6524ba796ea08fba9f944abc67d27ad95b0d561ce2317e8ad" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c579b66ceca8b7b6524ba796ea08fba9f944abc67d27ad95b0d561ce2317e8ad", 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" "c579b66ceca8b7b6524ba796ea08fba9f944abc67d27ad95b0d561ce2317e8ad" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "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: 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: 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 `byte_counter` is never used
[INFO] [stdout]  --> solutions/23_conversions/as_ref_mut.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn byte_counter<T: AsRef<str>>(arg: T) -> usize {
[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 `char_counter` is never used
[INFO] [stdout]   --> solutions/23_conversions/as_ref_mut.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn char_counter<T: AsRef<str>>(arg: T) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `num_sq` is never used
[INFO] [stdout]   --> solutions/23_conversions/as_ref_mut.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn num_sq<T: AsMut<u32>>(arg: &mut T) {
[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 `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] [stdout] warning: enum `CreationError` is never used
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum CreationError {
[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 `ParsePosNonzeroError` is never used
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum ParsePosNonzeroError {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_creation` and `from_parse_int` are never used
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl ParsePosNonzeroError {
[INFO] [stdout]    | ------------------------- associated functions in this implementation
[INFO] [stdout] 23 |     fn from_creation(err: CreationError) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn from_parse_int(err: ParseIntError) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PositiveNonzeroInteger` is never constructed
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct PositiveNonzeroInteger(u64);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `parse` are never used
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl PositiveNonzeroInteger {
[INFO] [stdout]    | --------------------------- associated functions in this implementation
[INFO] [stdout] 36 |     fn new(value: i64) -> Result<Self, CreationError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn parse(s: &str) -> Result<Self, ParsePosNonzeroError> {
[INFO] [stdout]    |        ^^^^^
[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: 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] [stdout] warning: function `bigger` is never used
[INFO] [stdout]  --> solutions/03_if/if1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn bigger(a: i32, b: i32) -> 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`
[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 `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] [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: function `animal_habitat` is never used
[INFO] [stdout]  --> solutions/03_if/if3.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn animal_habitat(animal: &str) -> &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 `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] running `Command { std: "docker" "inspect" "c579b66ceca8b7b6524ba796ea08fba9f944abc67d27ad95b0d561ce2317e8ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c579b66ceca8b7b6524ba796ea08fba9f944abc67d27ad95b0d561ce2317e8ad", kill_on_drop: false }`
[INFO] [stdout] c579b66ceca8b7b6524ba796ea08fba9f944abc67d27ad95b0d561ce2317e8ad
