[INFO] cloning repository https://github.com/jamipouchi/Category-Theory-ex-in-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamipouchi/Category-Theory-ex-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamipouchi%2FCategory-Theory-ex-in-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamipouchi%2FCategory-Theory-ex-in-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5510a8b33da15dd43885d12686ca4bbcf26183c7
[INFO] checking jamipouchi/Category-Theory-ex-in-Rust against master#8a65ee08296b36342bf7c3cdc15312ccbc357227 for pr-142704
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamipouchi%2FCategory-Theory-ex-in-Rust" "/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/jamipouchi/Category-Theory-ex-in-Rust on toolchain 8a65ee08296b36342bf7c3cdc15312ccbc357227
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jamipouchi/Category-Theory-ex-in-Rust
[INFO] finished tweaking git repo https://github.com/jamipouchi/Category-Theory-ex-in-Rust
[INFO] tweaked toml for git repo https://github.com/jamipouchi/Category-Theory-ex-in-Rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jamipouchi/Category-Theory-ex-in-Rust 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" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a4b88a64ed19eed11eaed229568be4e0b6d9116217201e9118a060622574511d
[INFO] running `Command { std: "docker" "start" "-a" "a4b88a64ed19eed11eaed229568be4e0b6d9116217201e9118a060622574511d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a4b88a64ed19eed11eaed229568be4e0b6d9116217201e9118a060622574511d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4b88a64ed19eed11eaed229568be4e0b6d9116217201e9118a060622574511d", kill_on_drop: false }`
[INFO] [stdout] a4b88a64ed19eed11eaed229568be4e0b6d9116217201e9118a060622574511d
[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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8546e55784c4a5de38b888d116390fdca7cb0582fe0a69fff5e31e826eb8c63
[INFO] running `Command { std: "docker" "start" "-a" "f8546e55784c4a5de38b888d116390fdca7cb0582fe0a69fff5e31e826eb8c63", kill_on_drop: false }`
[INFO] [stderr]     Checking challenges v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `challenges`
[INFO] [stdout]   --> src/main.rs:32:2
[INFO] [stdout]    |
[INFO] [stdout] 32 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `fmap` has an incompatible type for trait
[INFO] [stdout]   --> src/chapter6.rs:10:47
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl<A, B> Functor<B> for Reader<Box<dyn Fn(A) -> B>> {
[INFO] [stdout]    |         - expected type parameter
[INFO] [stdout] 10 |     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout]    |             - found type parameter            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `B`, found type parameter `R`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/chapter6.rs:2:47
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn fmap<B>(self: &Self, f: fn(A) -> B) -> Self;
[INFO] [stdout]    |                                               ^^^^
[INFO] [stdout]    = note: expected signature `fn(&Reader<_>, fn(_) -> _) -> Reader<Box<(dyn Fn(A) -> B + 'static)>>`
[INFO] [stdout]               found signature `fn(&Reader<_>, fn(_) -> _) -> Reader<Box<(dyn Fn(A) -> R + 'static)>>`
[INFO] [stdout]    = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound
[INFO] [stdout]    = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
[INFO] [stdout] help: change the output type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 10 -     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout] 10 +     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> B + 'static)>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `fmap` has an incompatible type for trait
[INFO] [stdout]   --> src/chapter6.rs:10:47
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl<A, B> Functor<B> for Reader<Box<dyn Fn(A) -> B>> {
[INFO] [stdout]    |         - expected type parameter
[INFO] [stdout] 10 |     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout]    |             - found type parameter            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `B`, found type parameter `R`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/chapter6.rs:2:47
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn fmap<B>(self: &Self, f: fn(A) -> B) -> Self;
[INFO] [stdout]    |                                               ^^^^
[INFO] [stdout]    = note: expected signature `fn(&Reader<_>, fn(_) -> _) -> Reader<Box<(dyn Fn(A) -> B + 'static)>>`
[INFO] [stdout]               found signature `fn(&Reader<_>, fn(_) -> _) -> Reader<Box<(dyn Fn(A) -> R + 'static)>>`
[INFO] [stdout]    = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound
[INFO] [stdout]    = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
[INFO] [stdout] help: change the output type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 10 -     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout] 10 +     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> B + 'static)>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/chapter6.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |       fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout]    |                        - let's call the lifetime of this reference `'1`
[INFO] [stdout] 11 | /         Reader {
[INFO] [stdout] 12 | |             f: Box::new(move |a| f((self.f)(a))),
[INFO] [stdout] 13 | |         }
[INFO] [stdout]    | |_________^ returning this value requires that `'1` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the trait object's explicit `'static` bound to the lifetime of argument `self`
[INFO] [stdout]    |
[INFO] [stdout] 10 -     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout] 10 +     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + '_)>> {
[INFO] [stdout]    |
[INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference
[INFO] [stdout]    |
[INFO] [stdout] 10 -     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout] 10 +     fn fmap<R>(self: &'static Reader<Box<(dyn Fn(A) -> B + 'static)>>, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough
[INFO] [stdout]   --> src/chapter6.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |             f: Box::new(move |a| f((self.f)(a))),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the parameter type `R` must be valid for the static lifetime...
[INFO] [stdout]    |                ...so that the type `R` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn fmap<R: 'static>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout]    |              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/chapter6.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |       fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout]    |                        - let's call the lifetime of this reference `'1`
[INFO] [stdout] 11 | /         Reader {
[INFO] [stdout] 12 | |             f: Box::new(move |a| f((self.f)(a))),
[INFO] [stdout] 13 | |         }
[INFO] [stdout]    | |_________^ returning this value requires that `'1` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the trait object's explicit `'static` bound to the lifetime of argument `self`
[INFO] [stdout]    |
[INFO] [stdout] 10 -     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout] 10 +     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + '_)>> {
[INFO] [stdout]    |
[INFO] [stdout] help: alternatively, add an explicit `'static` bound to this reference
[INFO] [stdout]    |
[INFO] [stdout] 10 -     fn fmap<R>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout] 10 +     fn fmap<R>(self: &'static Reader<Box<(dyn Fn(A) -> B + 'static)>>, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough
[INFO] [stdout]   --> src/chapter6.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |             f: Box::new(move |a| f((self.f)(a))),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the parameter type `R` must be valid for the static lifetime...
[INFO] [stdout]    |                ...so that the type `R` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn fmap<R: 'static>(self: &Self, f: fn(B) -> R) -> Reader<Box<(dyn Fn(A) -> R + 'static)>> {
[INFO] [stdout]    |              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0310, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0310.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `challenges` (bin "challenges") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `challenges` (bin "challenges" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "f8546e55784c4a5de38b888d116390fdca7cb0582fe0a69fff5e31e826eb8c63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8546e55784c4a5de38b888d116390fdca7cb0582fe0a69fff5e31e826eb8c63", kill_on_drop: false }`
[INFO] [stdout] f8546e55784c4a5de38b888d116390fdca7cb0582fe0a69fff5e31e826eb8c63
