[INFO] updating cached repository ProCynic/hello-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ProCynic/hello-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ProCynic/hello-rust" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/ProCynic/hello-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/ProCynic/hello-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ProCynic/hello-rust" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/ProCynic/hello-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/ProCynic/hello-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c765f4a5be06a6192d02bb7f1a1e45489585f028 [INFO] sha for GitHub repo ProCynic/hello-rust: c765f4a5be06a6192d02bb7f1a1e45489585f028 [INFO] validating manifest of ProCynic/hello-rust 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 ProCynic/hello-rust 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 ProCynic/hello-rust [INFO] finished frobbing ProCynic/hello-rust [INFO] frobbed toml for ProCynic/hello-rust written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/ProCynic/hello-rust/Cargo.toml [INFO] started frobbing ProCynic/hello-rust [INFO] finished frobbing ProCynic/hello-rust [INFO] frobbed toml for ProCynic/hello-rust written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/ProCynic/hello-rust/Cargo.toml [INFO] crate ProCynic/hello-rust 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] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/ProCynic/hello-rust/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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] checking ProCynic/hello-rust against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-4/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/ProCynic/hello-rust:/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 46e97fa1060cea2f1a28bee5fb8aee4fb3353d5ae5b43422c97be39505a1c75c [INFO] running `"docker" "start" "-a" "46e97fa1060cea2f1a28bee5fb8aee4fb3353d5ae5b43422c97be39505a1c75c"` [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking postgres-shared v0.4.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking hello_rust v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `self::postgres::SslMode` [INFO] [stderr] --> src/models/mod.rs:4:34 [INFO] [stderr] | [INFO] [stderr] 4 | use self::postgres::{Connection, SslMode}; [INFO] [stderr] | ^^^^^^^ no `SslMode` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ConnectError` in this scope [INFO] [stderr] --> src/models/mod.rs:11:50 [INFO] [stderr] | [INFO] [stderr] 11 | fn get_db_connection() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `Connection` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stderr] --> src/models/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | fn find_one() -> Result; [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 `Self` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = help: consider adding a `where Self: std::marker::Sized` bound [INFO] [stderr] = note: required by `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stderr] --> src/models/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | fn find() -> Result, DbError>; [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 `Self` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = help: consider adding a `where Self: std::marker::Sized` bound [INFO] [stderr] = note: required by `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `hello_rust`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `self::postgres::SslMode` [INFO] [stderr] --> src/models/mod.rs:4:34 [INFO] [stderr] | [INFO] [stderr] 4 | use self::postgres::{Connection, SslMode}; [INFO] [stderr] | ^^^^^^^ no `SslMode` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ConnectError` in this scope [INFO] [stderr] --> src/models/mod.rs:11:50 [INFO] [stderr] | [INFO] [stderr] 11 | fn get_db_connection() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `Connection` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stderr] --> src/models/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | fn find_one() -> Result; [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 `Self` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = help: consider adding a `where Self: std::marker::Sized` bound [INFO] [stderr] = note: required by `std::result::Result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stderr] --> src/models/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | fn find() -> Result, DbError>; [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 `Self` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = help: consider adding a `where Self: std::marker::Sized` bound [INFO] [stderr] = note: required by `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `hello_rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "46e97fa1060cea2f1a28bee5fb8aee4fb3353d5ae5b43422c97be39505a1c75c"` [INFO] running `"docker" "rm" "-f" "46e97fa1060cea2f1a28bee5fb8aee4fb3353d5ae5b43422c97be39505a1c75c"` [INFO] [stdout] 46e97fa1060cea2f1a28bee5fb8aee4fb3353d5ae5b43422c97be39505a1c75c