[INFO] cloning repository https://github.com/henryaj/penny [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henryaj/penny" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryaj%2Fpenny", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryaj%2Fpenny'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2ef0bd34b10d128c5ad51dc0e5cc66608caea30 [INFO] checking henryaj/penny against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryaj%2Fpenny" "/workspace/builds/worker-2/source", kill_on_drop: false }` [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 b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ffb5d3b1ad2fbcd3117035eebe7bddbe525333bd42a2192b683e08794ec9019 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2ffb5d3b1ad2fbcd3117035eebe7bddbe525333bd42a2192b683e08794ec9019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ffb5d3b1ad2fbcd3117035eebe7bddbe525333bd42a2192b683e08794ec9019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ffb5d3b1ad2fbcd3117035eebe7bddbe525333bd42a2192b683e08794ec9019", kill_on_drop: false }` [INFO] [stdout] 2ffb5d3b1ad2fbcd3117035eebe7bddbe525333bd42a2192b683e08794ec9019 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc44f8ec1a1e87e723723af37ce1a8022d3d4b7bcda5e61d087a885f75741b09 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc44f8ec1a1e87e723723af37ce1a8022d3d4b7bcda5e61d087a885f75741b09", kill_on_drop: false }` [INFO] [stderr] Checking penny v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn listen_and_serve(port: i32, handle_func: &Fn(TcpStream)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(TcpStream)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn listen_and_serve(port: i32, handle_func: &Fn(TcpStream)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(TcpStream)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let s = match s { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let s = match s { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn listen_and_serve(port: i32, handle_func: &Fn(TcpStream)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(TcpStream)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn listen_and_serve(port: i32, handle_func: &Fn(TcpStream)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(TcpStream)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(TcpStream,)>` closure, found `str` [INFO] [stdout] --> src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | listen_and_serve(80, "hello_world") [INFO] [stdout] | ^^^^^^^^^^^^^ expected an `Fn<(TcpStream,)>` closure, found `str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(TcpStream,)>` is not implemented for `str` [INFO] [stdout] = note: required for the cast to the object type `dyn Fn(TcpStream)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(TcpStream,)>` closure, found `str` [INFO] [stdout] --> src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | listen_and_serve(80, "hello_world") [INFO] [stdout] | ^^^^^^^^^^^^^ expected an `Fn<(TcpStream,)>` closure, found `str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(TcpStream,)>` is not implemented for `str` [INFO] [stdout] = note: required for the cast to the object type `dyn Fn(TcpStream)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | listen_and_serve(80, "hello_world") [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required for the cast to the object type `dyn Fn(TcpStream)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | listen_and_serve(80, "hello_world") [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required for the cast to the object type `dyn Fn(TcpStream)` [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 E0277`. [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 E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `penny` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dc44f8ec1a1e87e723723af37ce1a8022d3d4b7bcda5e61d087a885f75741b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc44f8ec1a1e87e723723af37ce1a8022d3d4b7bcda5e61d087a885f75741b09", kill_on_drop: false }` [INFO] [stdout] dc44f8ec1a1e87e723723af37ce1a8022d3d4b7bcda5e61d087a885f75741b09