[INFO] fetching crate diesel_infer_schema 1.4.0... [INFO] testing diesel_infer_schema-1.4.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate diesel_infer_schema 1.4.0 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate diesel_infer_schema 1.4.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-20/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pulldown-cmark v0.1.2 [INFO] [stderr] Downloaded infer_schema_internals v1.4.0 [INFO] [stderr] Downloaded mysqlclient-sys v0.2.5 [INFO] [stderr] Downloaded libsqlite3-sys v0.22.2 [INFO] [stderr] Downloaded infer_schema_macros v1.4.0 [INFO] [stderr] Downloaded clippy v0.0.195 [INFO] [stderr] Downloaded clippy_lints v0.0.195 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f36e660f4d3c1514f5100ceefe7a8865799759fef9659ecbd8ec2108e32d72f8 [INFO] running `Command { std: "docker" "start" "-a" "f36e660f4d3c1514f5100ceefe7a8865799759fef9659ecbd8ec2108e32d72f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f36e660f4d3c1514f5100ceefe7a8865799759fef9659ecbd8ec2108e32d72f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36e660f4d3c1514f5100ceefe7a8865799759fef9659ecbd8ec2108e32d72f8", kill_on_drop: false }` [INFO] [stdout] f36e660f4d3c1514f5100ceefe7a8865799759fef9659ecbd8ec2108e32d72f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3d363a331795344ad0dc325aa1ca66a8b81e67695c3a2b7d14ca6eef11587b7 [INFO] running `Command { std: "docker" "start" "-a" "d3d363a331795344ad0dc325aa1ca66a8b81e67695c3a2b7d14ca6eef11587b7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling diesel v1.4.8 [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 the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: 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 for type parameter `T` declared on the trait `From` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Box: From<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl From for Box<(dyn std::error::Error + 'static)>; [INFO] [stdout] - impl<'a, E> From for Box<(dyn std::error::Error + 'a)> [INFO] [stdout] where E: 'a, E: std::error::Error; [INFO] [stdout] - impl<'a> From> for Box<(dyn std::error::Error + 'static)>; [INFO] [stdout] - impl<> From<&str> for Box<(dyn std::error::Error + 'static)>; [INFO] [stdout] and 1 more [INFO] [stdout] = note: this error originates in the macro `try` (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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `infer_schema_internals` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "d3d363a331795344ad0dc325aa1ca66a8b81e67695c3a2b7d14ca6eef11587b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d363a331795344ad0dc325aa1ca66a8b81e67695c3a2b7d14ca6eef11587b7", kill_on_drop: false }` [INFO] [stdout] d3d363a331795344ad0dc325aa1ca66a8b81e67695c3a2b7d14ca6eef11587b7