[INFO] fetching crate diesel_codegen 0.16.1... [INFO] checking diesel_codegen-0.16.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate diesel_codegen 0.16.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate diesel_codegen 0.16.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diesel_codegen 0.16.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate diesel_codegen 0.16.1 [INFO] tweaked toml for crates.io crate diesel_codegen 0.16.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding bitflags v0.9.1 (latest: v2.5.0) [INFO] [stderr] Adding cargo_metadata v0.2.3 (latest: v0.18.1) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clippy v0.0.138 (latest: v0.0.302) [INFO] [stderr] Adding clippy_lints v0.0.138 (latest: v0.0.212) [INFO] [stderr] Adding derive-error-chain v0.10.1 (latest: v0.11.2) [INFO] [stderr] Adding diesel v0.16.0 (latest: v2.1.5) [INFO] [stderr] Adding diesel_infer_schema v0.16.0 (latest: v1.4.0) [INFO] [stderr] Adding dotenv v0.10.1 (latest: v0.15.0) [INFO] [stderr] Adding error-chain v0.10.0 (latest: v0.12.4) [INFO] [stderr] Adding idna v0.1.5 (latest: v0.5.0) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.4.0) [INFO] [stderr] Adding libsqlite3-sys v0.8.1 (latest: v0.28.0) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding pq-sys v0.4.8 (latest: v0.5.0) [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.35) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.4.2 (latest: v0.8.3) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.2) [INFO] [stderr] Adding semver v0.6.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding syn v0.11.11 (latest: v2.0.57) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding toml v0.4.10 (latest: v0.8.12) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding unicode-xid v0.0.4 (latest: v0.2.4) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-5-tc1/source/tests/queryable.rs [INFO] [stderr] * /workspace/builds/worker-5-tc1/source/tests/test_helpers.rs [INFO] [stderr] * /workspace/builds/worker-5-tc1/source/tests/associations.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded mysqlclient-sys v0.2.5 [INFO] [stderr] Downloaded cargo_metadata v0.2.3 [INFO] [stderr] Downloaded quine-mc_cluskey v0.2.4 [INFO] [stderr] Downloaded dotenv v0.10.1 [INFO] [stderr] Downloaded regex-syntax v0.4.2 [INFO] [stderr] Downloaded diesel_infer_schema v0.16.0 [INFO] [stderr] Downloaded derive-error-chain v0.10.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.8.1 [INFO] [stderr] Downloaded clippy v0.0.138 [INFO] [stderr] Downloaded diesel v0.16.0 [INFO] [stderr] Downloaded clippy_lints v0.0.138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3d2f4ee4d5d811557720792a6c4436bbcf82e48e01002c65d4ab0bebd4a632c [INFO] running `Command { std: "docker" "start" "-a" "a3d2f4ee4d5d811557720792a6c4436bbcf82e48e01002c65d4ab0bebd4a632c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3d2f4ee4d5d811557720792a6c4436bbcf82e48e01002c65d4ab0bebd4a632c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d2f4ee4d5d811557720792a6c4436bbcf82e48e01002c65d4ab0bebd4a632c", kill_on_drop: false }` [INFO] [stdout] a3d2f4ee4d5d811557720792a6c4436bbcf82e48e01002c65d4ab0bebd4a632c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2117f4e0aa536afd488a5cf07ea8bd7615795543e2b7161d98a4dbc5f95a32b [INFO] running `Command { std: "docker" "start" "-a" "b2117f4e0aa536afd488a5cf07ea8bd7615795543e2b7161d98a4dbc5f95a32b", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/tests/queryable.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/test_helpers.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/associations.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking diesel v0.16.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking diesel_codegen v0.16.1 (/opt/rustwide/workdir) [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/as_changeset.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings, missing_copy_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/as_changeset.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/associations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/associations.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/attr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/attr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/embed_migrations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/as_changeset.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings, missing_copy_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/embed_migrations.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/as_changeset.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/embed_migrations.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | try!(migration_paths_in_directory(path)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/embed_migrations.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let version = try!(version_from_path(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/identifiable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/insertable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/insertable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/queryable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/migrations.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | let cargo_toml_directory = try!(env::var("CARGO_MANIFEST_DIR")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/migrations.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | try!(search_for_migrations_directory(&src_dir)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/associations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/associations.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/attr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/attr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/embed_migrations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/embed_migrations.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/embed_migrations.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | try!(migration_paths_in_directory(path)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/embed_migrations.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let version = try!(version_from_path(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/identifiable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/insertable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `quote` is imported redundantly [INFO] [stdout] --> src/insertable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `syn` is imported redundantly [INFO] [stdout] --> src/queryable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/migrations.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | let cargo_toml_directory = try!(env::var("CARGO_MANIFEST_DIR")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/migrations.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | try!(search_for_migrations_directory(&src_dir)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/embed_migrations.rs:75:80 [INFO] [stdout] | [INFO] [stdout] 75 | fn migration_literals_from_path(path: &Path) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn migration_literals_from_path(path: &Path) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/embed_migrations.rs:75:80 [INFO] [stdout] | [INFO] [stdout] 75 | fn migration_literals_from_path(path: &Path) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn migration_literals_from_path(path: &Path) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/embed_migrations.rs:82:74 [INFO] [stdout] | [INFO] [stdout] 82 | fn migration_literal_from_path(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn migration_literal_from_path(path: &Path) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/embed_migrations.rs:82:74 [INFO] [stdout] | [INFO] [stdout] 82 | fn migration_literal_from_path(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn migration_literal_from_path(path: &Path) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/migrations.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | -> Result> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/migrations.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/migrations.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | -> Result> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/migrations.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_codegen` (lib) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_codegen` (lib test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "b2117f4e0aa536afd488a5cf07ea8bd7615795543e2b7161d98a4dbc5f95a32b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2117f4e0aa536afd488a5cf07ea8bd7615795543e2b7161d98a4dbc5f95a32b", kill_on_drop: false }` [INFO] [stdout] b2117f4e0aa536afd488a5cf07ea8bd7615795543e2b7161d98a4dbc5f95a32b [INFO] checking diesel_codegen-0.16.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate diesel_codegen 0.16.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate diesel_codegen 0.16.1 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diesel_codegen 0.16.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate diesel_codegen 0.16.1 [INFO] tweaked toml for crates.io crate diesel_codegen 0.16.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-5-tc2/source/tests/queryable.rs [INFO] [stderr] * /workspace/builds/worker-5-tc2/source/tests/test_helpers.rs [INFO] [stderr] * /workspace/builds/worker-5-tc2/source/tests/associations.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48d9b4102a63865a9ce8dec0db82080c2ce34f3c765b585131bd1b0c3230eb14 [INFO] running `Command { std: "docker" "start" "-a" "48d9b4102a63865a9ce8dec0db82080c2ce34f3c765b585131bd1b0c3230eb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48d9b4102a63865a9ce8dec0db82080c2ce34f3c765b585131bd1b0c3230eb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d9b4102a63865a9ce8dec0db82080c2ce34f3c765b585131bd1b0c3230eb14", kill_on_drop: false }` [INFO] [stdout] 48d9b4102a63865a9ce8dec0db82080c2ce34f3c765b585131bd1b0c3230eb14 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 106fbae1b8332d2e0d652d8c8ade32f40701c36c369d1fd7f767a3c6638b1b62 [INFO] running `Command { std: "docker" "start" "-a" "106fbae1b8332d2e0d652d8c8ade32f40701c36c369d1fd7f767a3c6638b1b62", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "106fbae1b8332d2e0d652d8c8ade32f40701c36c369d1fd7f767a3c6638b1b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "106fbae1b8332d2e0d652d8c8ade32f40701c36c369d1fd7f767a3c6638b1b62", kill_on_drop: false }` [INFO] [stdout] 106fbae1b8332d2e0d652d8c8ade32f40701c36c369d1fd7f767a3c6638b1b62