[INFO] cloning repository https://github.com/ProCynic/hello-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProCynic/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c765f4a5be06a6192d02bb7f1a1e45489585f028 [INFO] checking ProCynic/hello-rust against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ProCynic/hello-rust on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ProCynic/hello-rust [INFO] finished tweaking git repo https://github.com/ProCynic/hello-rust [INFO] tweaked toml for git repo https://github.com/ProCynic/hello-rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ProCynic/hello-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+b61e69433951e31f7bd746e22f516a48ad41623b" "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] e5f3fa76c7f3cd4645d5e35b3fce257997e457be7781bebc345df7b8e5baac13 [INFO] running `"docker" "start" "-a" "e5f3fa76c7f3cd4645d5e35b3fce257997e457be7781bebc345df7b8e5baac13"` [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking postgres-shared v0.4.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking postgres v0.15.2 [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/rustwide/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" "e5f3fa76c7f3cd4645d5e35b3fce257997e457be7781bebc345df7b8e5baac13"` [INFO] running `"docker" "rm" "-f" "e5f3fa76c7f3cd4645d5e35b3fce257997e457be7781bebc345df7b8e5baac13"` [INFO] [stdout] e5f3fa76c7f3cd4645d5e35b3fce257997e457be7781bebc345df7b8e5baac13