[INFO] cloning repository https://github.com/ProCynic/hello-rust [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c765f4a5be06a6192d02bb7f1a1e45489585f028 [INFO] testing ProCynic/hello-rust against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ProCynic/hello-rust on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] crate git repo https://github.com/ProCynic/hello-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a0de6a2f13d44812596a6ba11c5e9a7c37ab1154e3b29ba596b764c3e453589 [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" "8a0de6a2f13d44812596a6ba11c5e9a7c37ab1154e3b29ba596b764c3e453589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a0de6a2f13d44812596a6ba11c5e9a7c37ab1154e3b29ba596b764c3e453589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a0de6a2f13d44812596a6ba11c5e9a7c37ab1154e3b29ba596b764c3e453589", kill_on_drop: false }` [INFO] [stdout] 8a0de6a2f13d44812596a6ba11c5e9a7c37ab1154e3b29ba596b764c3e453589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e43dca18378b0d7816166537c2eb1831eea7a5f33291df2bccaa57f6a3dfeb70 [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" "e43dca18378b0d7816166537c2eb1831eea7a5f33291df2bccaa57f6a3dfeb70", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling postgres-protocol v0.5.2 [INFO] [stderr] Compiling postgres-types v0.1.2 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-postgres v0.5.5 [INFO] [stderr] Compiling postgres v0.17.5 [INFO] [stderr] Compiling hello_rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `self::postgres::Connection`, `self::postgres::SslMode` [INFO] [stdout] --> src/models/mod.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use self::postgres::{Connection, SslMode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ no `SslMode` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Connection` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectError` in this scope [INFO] [stdout] --> src/models/mod.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Model { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 11 | fn get_db_connection() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/models/mod.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn find_one() -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 9 | fn find_one() -> Result where Self: std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/models/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | fn find() -> Result, DbError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 10 | fn find() -> Result, DbError> where Self: std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e43dca18378b0d7816166537c2eb1831eea7a5f33291df2bccaa57f6a3dfeb70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e43dca18378b0d7816166537c2eb1831eea7a5f33291df2bccaa57f6a3dfeb70", kill_on_drop: false }` [INFO] [stdout] e43dca18378b0d7816166537c2eb1831eea7a5f33291df2bccaa57f6a3dfeb70