[INFO] updating cached repository TastyWithPasta/rust_fun
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/TastyWithPasta/rust_fun
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/TastyWithPasta/rust_fun" "work/ex/beta-1.37-6/sources/1.36.0/gh/TastyWithPasta/rust_fun"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/TastyWithPasta/rust_fun'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/TastyWithPasta/rust_fun" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/TastyWithPasta/rust_fun"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/TastyWithPasta/rust_fun'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] f64af7e16a9d051192b8e5742300c000739f73f2
[INFO] sha for GitHub repo TastyWithPasta/rust_fun: f64af7e16a9d051192b8e5742300c000739f73f2
[INFO] validating manifest of TastyWithPasta/rust_fun on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of TastyWithPasta/rust_fun on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing TastyWithPasta/rust_fun
[INFO] finished frobbing TastyWithPasta/rust_fun
[INFO] frobbed toml for TastyWithPasta/rust_fun written to work/ex/beta-1.37-6/sources/1.36.0/gh/TastyWithPasta/rust_fun/Cargo.toml
[INFO] started frobbing TastyWithPasta/rust_fun
[INFO] finished frobbing TastyWithPasta/rust_fun
[INFO] frobbed toml for TastyWithPasta/rust_fun written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/TastyWithPasta/rust_fun/Cargo.toml
[INFO] crate TastyWithPasta/rust_fun already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing TastyWithPasta/rust_fun against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/TastyWithPasta/rust_fun:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 4bc43389b792c5cfaea6ffb6d4c4ef43fde65a3f70601c6beaf00d6ecf268b76
[INFO] running `"docker" "start" "-a" "4bc43389b792c5cfaea6ffb6d4c4ef43fde65a3f70601c6beaf00d6ecf268b76"`
[INFO] [stderr]    Compiling rustbook v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] warning: function is never used: `pig_latin`
[INFO] [stderr]  --> src/piglatin.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn pig_latin(text: &str) -> String {
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: #[warn(dead_code)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `example`
[INFO] [stderr]   --> src/piglatin.rs:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn example() {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `mean`
[INFO] [stderr]  --> src/stat.rs:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn mean(entries : &mut Vec<i32>) -> i32 {
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `median`
[INFO] [stderr]   --> src/stat.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn median(entries : &mut Vec<i32>) -> i32 {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `mode`
[INFO] [stderr]   --> src/stat.rs:18:1
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn mode (entries: &mut Vec<i32>) -> HashMap<i32, i32> {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `main`
[INFO] [stderr]   --> src/stat.rs:28:1
[INFO] [stderr]    |
[INFO] [stderr] 28 | fn main() {
[INFO] [stderr]    | ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Fun` in this scope
[INFO] [stderr]   --> src/main.rs:42:27
[INFO] [stderr]    |
[INFO] [stderr] 42 | struct Cacher<T> where T: Fun(u32) -> u32 {
[INFO] [stderr]    |                           ^^^ help: a trait with a similar name exists: `Fn`
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Fun` in this scope
[INFO] [stderr]   --> src/main.rs:47:28
[INFO] [stderr]    |
[INFO] [stderr] 47 | impl<T> Cacher<T> where T: Fun(u32) -> u32 {
[INFO] [stderr]    |                            ^^^ help: a trait with a similar name exists: `Fn`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::env;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: #[warn(unused_imports)] on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0405`.
[INFO] [stderr] error: Could not compile `rustbook`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "4bc43389b792c5cfaea6ffb6d4c4ef43fde65a3f70601c6beaf00d6ecf268b76"`
[INFO] running `"docker" "rm" "-f" "4bc43389b792c5cfaea6ffb6d4c4ef43fde65a3f70601c6beaf00d6ecf268b76"`
[INFO] [stdout] 4bc43389b792c5cfaea6ffb6d4c4ef43fde65a3f70601c6beaf00d6ecf268b76
