[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] checking TastyWithPasta/rust_fun/f64af7e16a9d051192b8e5742300c000739f73f2 against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTastyWithPasta%2Frust_fun" "/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/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TastyWithPasta/rust_fun on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b2316a5013b796ce4fca47e4c60a1ca8316d594b53a6853c0317bbd4a9d75fa [INFO] running `Command { std: "docker" "start" "-a" "8b2316a5013b796ce4fca47e4c60a1ca8316d594b53a6853c0317bbd4a9d75fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b2316a5013b796ce4fca47e4c60a1ca8316d594b53a6853c0317bbd4a9d75fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b2316a5013b796ce4fca47e4c60a1ca8316d594b53a6853c0317bbd4a9d75fa", kill_on_drop: false }` [INFO] [stdout] 8b2316a5013b796ce4fca47e4c60a1ca8316d594b53a6853c0317bbd4a9d75fa [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5163603e71eaa2df193e9f2eafca3985d9031952922dc94e15ebffe38e019c5 [INFO] running `Command { std: "docker" "start" "-a" "d5163603e71eaa2df193e9f2eafca3985d9031952922dc94e15ebffe38e019c5", kill_on_drop: false }` [INFO] [stderr] Checking 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 { [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 { [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) -> HashMap { [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: 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 { [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 { [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) -> HashMap { [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] error[E0405]: cannot find trait `Fun` in this scope [INFO] [stdout] --> src/main.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | struct Cacher where T: Fun(u32) -> u32 { [INFO] [stdout] | ^^^ help: a trait with a similar name exists: `Fn` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/ops/function.rs:77: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 Cacher where T: Fun(u32) -> u32 { [INFO] [stdout] | ^^^ help: a trait with a similar name exists: `Fn` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/ops/function.rs:77: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] For more information about this error, try `rustc --explain E0405`. [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 where T: Fun(u32) -> u32 { [INFO] [stdout] | ^^^ help: a trait with a similar name exists: `Fn` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/ops/function.rs:77: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 Cacher where T: Fun(u32) -> u32 { [INFO] [stdout] | ^^^ help: a trait with a similar name exists: `Fn` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/ops/function.rs:77: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] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustbook` (bin "rustbook") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustbook` (bin "rustbook" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d5163603e71eaa2df193e9f2eafca3985d9031952922dc94e15ebffe38e019c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5163603e71eaa2df193e9f2eafca3985d9031952922dc94e15ebffe38e019c5", kill_on_drop: false }` [INFO] [stdout] d5163603e71eaa2df193e9f2eafca3985d9031952922dc94e15ebffe38e019c5