[INFO] cloning repository https://github.com/TastyWithPasta/rust_fun
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TastyWithPasta/rust_fun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTastyWithPasta%2Frust_fun", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTastyWithPasta%2Frust_fun'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f64af7e16a9d051192b8e5742300c000739f73f2
[INFO] testing TastyWithPasta/rust_fun against 1.69.0 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTastyWithPasta%2Frust_fun" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TastyWithPasta/rust_fun on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/TastyWithPasta/rust_fun
[INFO] finished tweaking git repo https://github.com/TastyWithPasta/rust_fun
[INFO] tweaked toml for git repo https://github.com/TastyWithPasta/rust_fun written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/TastyWithPasta/rust_fun 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" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d6862e057ea27c53ac8a14e0551d918f903e24ca2d9f47e348c254e1359181f
[INFO] running `Command { std: "docker" "start" "-a" "6d6862e057ea27c53ac8a14e0551d918f903e24ca2d9f47e348c254e1359181f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d6862e057ea27c53ac8a14e0551d918f903e24ca2d9f47e348c254e1359181f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d6862e057ea27c53ac8a14e0551d918f903e24ca2d9f47e348c254e1359181f", kill_on_drop: false }`
[INFO] [stdout] 6d6862e057ea27c53ac8a14e0551d918f903e24ca2d9f47e348c254e1359181f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e3af1765b569b244fccb8fa7e6d4e6997cda32ca961f45598c1fb84b7488ca4
[INFO] running `Command { std: "docker" "start" "-a" "6e3af1765b569b244fccb8fa7e6d4e6997cda32ca961f45598c1fb84b7488ca4", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustbook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `pig_latin` is never used
[INFO] [stdout]  --> src/piglatin.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn pig_latin(text: &str) -> String {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example` is never used
[INFO] [stdout]   --> src/piglatin.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn example() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mean` is never used
[INFO] [stdout]  --> src/stat.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn mean(entries : &mut Vec<i32>) -> i32 {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `median` is never used
[INFO] [stdout]   --> src/stat.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn median(entries : &mut Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mode` is never used
[INFO] [stdout]   --> src/stat.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn mode (entries: &mut Vec<i32>) -> HashMap<i32, i32> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/stat.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Fun` in this scope
[INFO] [stdout]   --> src/main.rs:42:27
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Cacher<T> where T: Fun(u32) -> u32 {
[INFO] [stdout]    |                           ^^^ help: a trait with a similar name exists: `Fn`
[INFO] [stdout]   --> /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/ops/function.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Fn` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Fun` in this scope
[INFO] [stdout]   --> src/main.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl<T> Cacher<T> where T: Fun(u32) -> u32 {
[INFO] [stdout]    |                            ^^^ help: a trait with a similar name exists: `Fn`
[INFO] [stdout]   --> /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/ops/function.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Fn` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustbook` due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "6e3af1765b569b244fccb8fa7e6d4e6997cda32ca961f45598c1fb84b7488ca4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e3af1765b569b244fccb8fa7e6d4e6997cda32ca961f45598c1fb84b7488ca4", kill_on_drop: false }`
[INFO] [stdout] 6e3af1765b569b244fccb8fa7e6d4e6997cda32ca961f45598c1fb84b7488ca4
