[INFO] cloning repository https://github.com/ongchi/mdbsql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ongchi/mdbsql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fongchi%2Fmdbsql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fongchi%2Fmdbsql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07e702b825910c149e3d8bb9a86271f58578aae1 [INFO] checking ongchi/mdbsql against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fongchi%2Fmdbsql" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ongchi/mdbsql [INFO] finished tweaking git repo https://github.com/ongchi/mdbsql [INFO] tweaked toml for git repo https://github.com/ongchi/mdbsql written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ongchi/mdbsql on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ongchi/mdbsql already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_plain v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0c43f2ca7132936238f31e73b3331124394f9a2319f1bf292831497672437ad [INFO] running `Command { std: "docker" "start" "-a" "e0c43f2ca7132936238f31e73b3331124394f9a2319f1bf292831497672437ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0c43f2ca7132936238f31e73b3331124394f9a2319f1bf292831497672437ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c43f2ca7132936238f31e73b3331124394f9a2319f1bf292831497672437ad", kill_on_drop: false }` [INFO] [stdout] e0c43f2ca7132936238f31e73b3331124394f9a2319f1bf292831497672437ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d2a2ae87085088f2b8103a71aa01be1bf69dc1ea6da92c19e1fa74f51e3adc9 [INFO] running `Command { std: "docker" "start" "-a" "1d2a2ae87085088f2b8103a71aa01be1bf69dc1ea6da92c19e1fa74f51e3adc9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling cfg-expr v0.11.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling which v4.3.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling mdbsql v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling system-deps v6.0.3 [INFO] [stderr] Checking serde_plain v1.0.0 [INFO] [stderr] Compiling glib-sys v0.16.3 [INFO] [stderr] Compiling libmdb-sys v0.1.2 (/opt/rustwide/workdir/libmdb-sys) [INFO] [stdout] warning: unexpected `cfg` condition name: `LIBMDBSQL_GE_VERSION_1` [INFO] [stdout] --> src/ffi.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(LIBMDBSQL_GE_VERSION_1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(LIBMDBSQL_GE_VERSION_1)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(LIBMDBSQL_GE_VERSION_1)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `LIBMDBSQL_GE_VERSION_1` [INFO] [stdout] --> src/ffi.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | #[cfg(LIBMDBSQL_GE_VERSION_1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(LIBMDBSQL_GE_VERSION_1)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(LIBMDBSQL_GE_VERSION_1)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `LIBMDBSQL_GE_VERSION_1` [INFO] [stdout] --> src/ffi.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | #[cfg(not(LIBMDBSQL_GE_VERSION_1))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(LIBMDBSQL_GE_VERSION_1)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(LIBMDBSQL_GE_VERSION_1)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `LIBMDBSQL_GE_VERSION_1` [INFO] [stdout] --> src/ffi.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(LIBMDBSQL_GE_VERSION_1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(LIBMDBSQL_GE_VERSION_1)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(LIBMDBSQL_GE_VERSION_1)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `LIBMDBSQL_GE_VERSION_1` [INFO] [stdout] --> src/ffi.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | #[cfg(LIBMDBSQL_GE_VERSION_1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(LIBMDBSQL_GE_VERSION_1)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(LIBMDBSQL_GE_VERSION_1)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `LIBMDBSQL_GE_VERSION_1` [INFO] [stdout] --> src/ffi.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | #[cfg(not(LIBMDBSQL_GE_VERSION_1))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(LIBMDBSQL_GE_VERSION_1)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(LIBMDBSQL_GE_VERSION_1)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mdbsql.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn prepare(&self, query: &str) -> Result { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn prepare(&self, query: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mdbsql.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn prepare(&self, query: &str) -> Result { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn prepare(&self, query: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.86s [INFO] running `Command { std: "docker" "inspect" "1d2a2ae87085088f2b8103a71aa01be1bf69dc1ea6da92c19e1fa74f51e3adc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2a2ae87085088f2b8103a71aa01be1bf69dc1ea6da92c19e1fa74f51e3adc9", kill_on_drop: false }` [INFO] [stdout] 1d2a2ae87085088f2b8103a71aa01be1bf69dc1ea6da92c19e1fa74f51e3adc9