[INFO] fetching crate diesel_codegen 0.16.1... [INFO] checking diesel_codegen-0.16.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate diesel_codegen 0.16.1 into /workspace/builds/worker-80/source [INFO] validating manifest of crates.io crate diesel_codegen 0.16.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-80/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-80/source/tests/queryable.rs [INFO] [stderr] * /workspace/builds/worker-80/source/tests/test_helpers.rs [INFO] [stderr] * /workspace/builds/worker-80/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-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea5c56c68c97329f94db3a7b441940c89e58c0ea316ef01914189b5635303680 [INFO] running `Command { std: "docker" "start" "-a" "ea5c56c68c97329f94db3a7b441940c89e58c0ea316ef01914189b5635303680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea5c56c68c97329f94db3a7b441940c89e58c0ea316ef01914189b5635303680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea5c56c68c97329f94db3a7b441940c89e58c0ea316ef01914189b5635303680", kill_on_drop: false }` [INFO] [stdout] ea5c56c68c97329f94db3a7b441940c89e58c0ea316ef01914189b5635303680 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eac466d53e18aaa50673353e3b009203bc7c60a33854cd71fd8674aa63ba7303 [INFO] running `Command { std: "docker" "start" "-a" "eac466d53e18aaa50673353e3b009203bc7c60a33854cd71fd8674aa63ba7303", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Checking serde v1.0.128 [INFO] [stderr] Checking diesel_codegen v0.16.1 (/opt/rustwide/workdir) [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] | ^^^^^ help: use `dyn`: `dyn Error` [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(bare_trait_objects)]` implied by `#[deny(warnings)]` [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] [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: 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(deprecated)]` implied by `#[deny(warnings)]` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/migrations.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/migrations.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [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] | ^^^^^ help: use `dyn`: `dyn Error` [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(bare_trait_objects)]` implied by `#[deny(warnings)]` [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] [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: 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(deprecated)]` implied by `#[deny(warnings)]` [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] | ^^^^^ help: use `dyn`: `dyn Error` [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/migrations.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/migrations.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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] [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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_codegen` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eac466d53e18aaa50673353e3b009203bc7c60a33854cd71fd8674aa63ba7303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac466d53e18aaa50673353e3b009203bc7c60a33854cd71fd8674aa63ba7303", kill_on_drop: false }` [INFO] [stdout] eac466d53e18aaa50673353e3b009203bc7c60a33854cd71fd8674aa63ba7303