[INFO] fetching crate diesel_infer_schema 1.4.0... [INFO] checking diesel_infer_schema-1.4.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate diesel_infer_schema 1.4.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate diesel_infer_schema 1.4.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate diesel_infer_schema 1.4.0 [INFO] finished tweaking crates.io crate diesel_infer_schema 1.4.0 [INFO] tweaked toml for crates.io crate diesel_infer_schema 1.4.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e1f486cd92d70e99c543fd6cdcd9fc89d734b1a17864f254c5b7475c003ddacf [INFO] running `Command { std: "docker" "start" "-a" "e1f486cd92d70e99c543fd6cdcd9fc89d734b1a17864f254c5b7475c003ddacf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1f486cd92d70e99c543fd6cdcd9fc89d734b1a17864f254c5b7475c003ddacf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f486cd92d70e99c543fd6cdcd9fc89d734b1a17864f254c5b7475c003ddacf", kill_on_drop: false }` [INFO] [stdout] e1f486cd92d70e99c543fd6cdcd9fc89d734b1a17864f254c5b7475c003ddacf [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc3bb15a03f6094290fd93498a589fd863df60c37d20efce40843d5a2dd89047 [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" "bc3bb15a03f6094290fd93498a589fd863df60c37d20efce40843d5a2dd89047", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling infer_schema_internals v1.4.0 [INFO] [stdout] error: At least one backend must be specified for use with this crate. [INFO] [stdout] In Cargo.toml, please specify `features = ["postgresql"]`, `features = ["mysql"]`, or `features = ["sqlite"]` [INFO] [stdout] [INFO] [stdout] ex. `infer_schema_internals { features = ["postgres"] }` [INFO] [stdout] [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/infer_schema_internals-1.4.0/src/inference.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | _ => compile_error!( [INFO] [stdout] | ______________^ [INFO] [stdout] 71 | | "At least one backend must be specified for use with this crate.\n \ [INFO] [stdout] 72 | | In Cargo.toml, please specify `features = [\"postgresql\"]`, \ [INFO] [stdout] 73 | | `features = [\"mysql\"]`, or `features = [\"sqlite\"]`\n\n \ [INFO] [stdout] 74 | | ex. `infer_schema_internals { features = [\"postgres\"] }`\n " [INFO] [stdout] 75 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/infer_schema_internals-1.4.0/src/inference.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | let primary_keys: Vec = try!(match *conn { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 129 | | #[cfg(feature = "sqlite")] [INFO] [stdout] 130 | | InferConnection::Sqlite(ref c) => ::sqlite::get_primary_keys(c, table), [INFO] [stdout] 131 | | #[cfg(feature = "postgres")] [INFO] [stdout] ... | [INFO] [stdout] 134 | | InferConnection::Mysql(ref c) => ::information_schema::get_primary_keys(c, table), [INFO] [stdout] 135 | | }); [INFO] [stdout] | |______^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/infer_schema_internals-1.4.0/src/inference.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 163 | let constraints = match connection { [INFO] [stdout] | ----------- consider giving `constraints` a type [INFO] [stdout] ... [INFO] [stdout] 176 | constraints.map(|mut ct| { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `infer_schema_internals` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "bc3bb15a03f6094290fd93498a589fd863df60c37d20efce40843d5a2dd89047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc3bb15a03f6094290fd93498a589fd863df60c37d20efce40843d5a2dd89047", kill_on_drop: false }` [INFO] [stdout] bc3bb15a03f6094290fd93498a589fd863df60c37d20efce40843d5a2dd89047