[INFO] updating cached repository https://github.com/dzcarter/rust-ps1 [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] dc3493c0804bf7a3bc5c79696360ea463de00968 [INFO] checking dzcarter/rust-ps1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzcarter%2Frust-ps1" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dzcarter/rust-ps1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/dzcarter/rust-ps1 [INFO] finished tweaking git repo https://github.com/dzcarter/rust-ps1 [INFO] tweaked toml for git repo https://github.com/dzcarter/rust-ps1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/dzcarter/rust-ps1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2df9e4c28c4df8eadefeecb5a7c63d4e8852e232749a05e45d62cc2ddcda2b8f [INFO] running `"docker" "start" "-a" "2df9e4c28c4df8eadefeecb5a7c63d4e8852e232749a05e45d62cc2ddcda2b8f"` [INFO] [stderr] Checking ps1 v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stderr] --> src/main.rs:30:44 [INFO] [stderr] | [INFO] [stderr] 30 | Ok(mut stream) => spawn(proc() { [INFO] [stderr] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stderr] | | [INFO] [stderr] | help: missing `,` [INFO] [stderr] [INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stderr] --> src/main.rs:30:44 [INFO] [stderr] | [INFO] [stderr] 30 | Ok(mut stream) => spawn(proc() { [INFO] [stderr] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stderr] | | [INFO] [stderr] | help: missing `,` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `net` [INFO] [stderr] --> src/main.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | let mut acceptor = net::tcp::TcpListener::bind(addr).listen(); [INFO] [stderr] | ^^^ use of undeclared type or module `net` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/main.rs:30:31 [INFO] [stderr] | [INFO] [stderr] 30 | Ok(mut stream) => spawn(proc() { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 16 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `proc` in this scope [INFO] [stderr] --> src/main.rs:30:37 [INFO] [stderr] | [INFO] [stderr] 30 | Ok(mut stream) => spawn(proc() { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `net` [INFO] [stderr] --> src/main.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | let mut acceptor = net::tcp::TcpListener::bind(addr).listen(); [INFO] [stderr] | ^^^ use of undeclared type or module `net` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/main.rs:30:31 [INFO] [stderr] | [INFO] [stderr] 30 | Ok(mut stream) => spawn(proc() { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 16 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `proc` in this scope [INFO] [stderr] --> src/main.rs:30:37 [INFO] [stderr] | [INFO] [stderr] 30 | Ok(mut stream) => spawn(proc() { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:36:35 [INFO] [stderr] | [INFO] [stderr] 36 | let mut buf = [0, ..500]; [INFO] [stderr] | ^^^^^ expected integer, found struct `std::ops::RangeTo` [INFO] [stderr] | [INFO] [stderr] = note: expected type `{integer}` [INFO] [stderr] found struct `std::ops::RangeTo<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:36:35 [INFO] [stderr] | [INFO] [stderr] 36 | let mut buf = [0, ..500]; [INFO] [stderr] | ^^^^^ expected integer, found struct `std::ops::RangeTo` [INFO] [stderr] | [INFO] [stderr] = note: expected type `{integer}` [INFO] [stderr] found struct `std::ops::RangeTo<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::result::Result<&str, std::str::Utf8Error>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:39:52 [INFO] [stderr] | [INFO] [stderr] 39 | println!("Received request :\n{}", request_str); [INFO] [stderr] | ^^^^^^^^^^^ `std::result::Result<&str, std::str::Utf8Error>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::result::Result<&str, std::str::Utf8Error>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::io::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::result::Result<&str, std::str::Utf8Error>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:39:52 [INFO] [stderr] | [INFO] [stderr] 39 | println!("Received request :\n{}", request_str); [INFO] [stderr] | ^^^^^^^^^^^ `std::result::Result<&str, std::str::Utf8Error>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::result::Result<&str, std::str::Utf8Error>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::io::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `ps1`. [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: could not compile `ps1`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2df9e4c28c4df8eadefeecb5a7c63d4e8852e232749a05e45d62cc2ddcda2b8f"` [INFO] running `"docker" "rm" "-f" "2df9e4c28c4df8eadefeecb5a7c63d4e8852e232749a05e45d62cc2ddcda2b8f"` [INFO] [stdout] 2df9e4c28c4df8eadefeecb5a7c63d4e8852e232749a05e45d62cc2ddcda2b8f