[INFO] fetching crate diesel_infer_schema 1.4.0... [INFO] checking diesel_infer_schema-1.4.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate diesel_infer_schema 1.4.0 into /workspace/builds/worker-5-tc2/source [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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel_infer_schema 1.4.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.3) [INFO] [stderr] Adding clippy v0.0.195 (available: v0.0.302) [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.12) [INFO] [stderr] Adding dotenv v0.10.1 (available: v0.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d0a4977a4ebc1d50b2db2b41fdc16fac5849c8a4ae310770ad6b7d7c3c8955c [INFO] running `Command { std: "docker" "start" "-a" "6d0a4977a4ebc1d50b2db2b41fdc16fac5849c8a4ae310770ad6b7d7c3c8955c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d0a4977a4ebc1d50b2db2b41fdc16fac5849c8a4ae310770ad6b7d7c3c8955c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0a4977a4ebc1d50b2db2b41fdc16fac5849c8a4ae310770ad6b7d7c3c8955c", kill_on_drop: false }` [INFO] [stdout] 6d0a4977a4ebc1d50b2db2b41fdc16fac5849c8a4ae310770ad6b7d7c3c8955c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d56c7cae13a1b59e56b7df7444f3ae35cc2e7d8d7dfedaa3007282ef73a8267 [INFO] running `Command { std: "docker" "start" "-a" "9d56c7cae13a1b59e56b7df7444f3ae35cc2e7d8d7dfedaa3007282ef73a8267", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling dotenv v0.10.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/index.crates.io-1949cf8c6b5b557f/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/index.crates.io-1949cf8c6b5b557f/infer_schema_internals-1.4.0/src/inference.rs:128:42 [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] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______cannot infer type [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Box: From<_>` found in the following crates: `alloc`, `core`: [INFO] [stdout] - impl<'a, 'b> From> for Box<(dyn std::error::Error + 'a)>; [INFO] [stdout] - impl<'a, E> From for Box<(dyn std::error::Error + 'a)> [INFO] [stdout] where E: std::error::Error, E: 'a; [INFO] [stdout] - impl<'a> From<&str> for Box<(dyn std::error::Error + 'a)>; [INFO] [stdout] - impl<'a> From for Box<(dyn std::error::Error + 'a)>; [INFO] [stdout] - impl From for T; [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/index.crates.io-1949cf8c6b5b557f/infer_schema_internals-1.4.0/src/inference.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let constraints = match connection { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | constraints.map(|mut ct| { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `constraints` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let constraints: /* Type */ = match connection { [INFO] [stdout] | ++++++++++++ [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` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9d56c7cae13a1b59e56b7df7444f3ae35cc2e7d8d7dfedaa3007282ef73a8267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d56c7cae13a1b59e56b7df7444f3ae35cc2e7d8d7dfedaa3007282ef73a8267", kill_on_drop: false }` [INFO] [stdout] 9d56c7cae13a1b59e56b7df7444f3ae35cc2e7d8d7dfedaa3007282ef73a8267