[INFO] updating cached repository https://github.com/henryaj/penny [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f2ef0bd34b10d128c5ad51dc0e5cc66608caea30 [INFO] testing henryaj/penny against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryaj%2Fpenny" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/henryaj/penny on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/henryaj/penny [INFO] finished tweaking git repo https://github.com/henryaj/penny [INFO] tweaked toml for git repo https://github.com/henryaj/penny written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/henryaj/penny already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 271b50aefae45bc5cc212c52bb43c37bcb79aaa38534d16d2132d143498b34f6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "271b50aefae45bc5cc212c52bb43c37bcb79aaa38534d16d2132d143498b34f6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling penny v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3:50 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn listen_and_serve(port: i32, handle_func: &Fn(TcpStream)) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(TcpStream)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/lib.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | let s = match s { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:3:50 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn listen_and_serve(port: i32, handle_func: &Fn(TcpStream)) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(TcpStream)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(std::net::TcpStream,)>` closure, found `str` [INFO] [stderr] --> src/main.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | listen_and_serve(80, "hello_world") [INFO] [stderr] | ^^^^^^^^^^^^^ expected an `Fn<(std::net::TcpStream,)>` closure, found `str` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Fn<(std::net::TcpStream,)>` is not implemented for `str` [INFO] [stderr] = note: required for the cast to the object type `dyn std::ops::Fn(std::net::TcpStream)` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | listen_and_serve(80, "hello_world") [INFO] [stderr] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required for the cast to the object type `dyn std::ops::Fn(std::net::TcpStream)` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `penny`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "271b50aefae45bc5cc212c52bb43c37bcb79aaa38534d16d2132d143498b34f6"` [INFO] running `"docker" "rm" "-f" "271b50aefae45bc5cc212c52bb43c37bcb79aaa38534d16d2132d143498b34f6"` [INFO] [stdout] 271b50aefae45bc5cc212c52bb43c37bcb79aaa38534d16d2132d143498b34f6