[INFO] updating cached repository dzcarter/rust-ps1 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/dzcarter/rust-ps1 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/dzcarter/rust-ps1" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/dzcarter/rust-ps1"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/dzcarter/rust-ps1'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dzcarter/rust-ps1" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/dzcarter/rust-ps1"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/dzcarter/rust-ps1'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dc3493c0804bf7a3bc5c79696360ea463de00968 [INFO] sha for GitHub repo dzcarter/rust-ps1: dc3493c0804bf7a3bc5c79696360ea463de00968 [INFO] validating manifest of dzcarter/rust-ps1 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dzcarter/rust-ps1 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing dzcarter/rust-ps1 [INFO] finished frobbing dzcarter/rust-ps1 [INFO] frobbed toml for dzcarter/rust-ps1 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/dzcarter/rust-ps1/Cargo.toml [INFO] started frobbing dzcarter/rust-ps1 [INFO] finished frobbing dzcarter/rust-ps1 [INFO] frobbed toml for dzcarter/rust-ps1 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/dzcarter/rust-ps1/Cargo.toml [INFO] crate dzcarter/rust-ps1 already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking dzcarter/rust-ps1 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-4/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/dzcarter/rust-ps1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3729923d7ba9bdfc7785d44d65134f9ed285105a7b63c826c9f23215ad6b76d5 [INFO] running `"docker" "start" "-a" "3729923d7ba9bdfc7785d44d65134f9ed285105a7b63c826c9f23215ad6b76d5"` [INFO] [stderr] Checking ps1 v0.0.1 (/opt/crater/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 here [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 here [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] 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 type `std::ops::RangeTo<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | let mut buf = [0, ..500]; [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 `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [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] [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 7 previous errors [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] warning: build failed, waiting for other jobs to finish... [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] 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 type `std::ops::RangeTo<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | let mut buf = [0, ..500]; [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 `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [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] [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 7 previous errors [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] running `"docker" "inspect" "3729923d7ba9bdfc7785d44d65134f9ed285105a7b63c826c9f23215ad6b76d5"` [INFO] running `"docker" "rm" "-f" "3729923d7ba9bdfc7785d44d65134f9ed285105a7b63c826c9f23215ad6b76d5"` [INFO] [stdout] 3729923d7ba9bdfc7785d44d65134f9ed285105a7b63c826c9f23215ad6b76d5