[INFO] fetching crate tracers-codegen 0.1.0... [INFO] checking tracers-codegen-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tracers-codegen 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate tracers-codegen 0.1.0 [INFO] finished tweaking crates.io crate tracers-codegen 0.1.0 [INFO] tweaked toml for crates.io crate tracers-codegen 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tracers-codegen 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 117 packages to latest compatible versions [INFO] [stderr] Adding askama v0.8.0 (available: v0.14.0) [INFO] [stderr] Adding cargo_metadata v0.9.1 (available: v0.22.0) [INFO] [stderr] Adding darling v0.10.2 (available: v0.21.3) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.3.0) [INFO] [stderr] Adding quickcheck v0.9.2 (available: v1.0.3) [INFO] [stderr] Adding quickcheck_macros v0.8.0 (available: v1.1.0) [INFO] [stderr] Adding strum v0.16.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.16.0 (available: v0.27.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] [stderr] Adding twox-hash v1.6.3 (available: v2.1.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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 tracers-core v0.1.0 [INFO] [stderr] Downloaded askama v0.8.0 [INFO] [stderr] Downloaded cargo_metadata v0.9.1 [INFO] [stderr] Downloaded askama_escape v0.2.0 [INFO] [stderr] Downloaded serde_str v0.1.0 [INFO] [stderr] Downloaded askama_derive v0.8.0 [INFO] [stderr] Downloaded quickcheck_macros v0.8.0 [INFO] [stderr] Downloaded askama_shared v0.8.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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] daaca8b57d58fdb5d9d6fa8c47d987df3364c72b449114f9e34b6f78bcc350a3 [INFO] running `Command { std: "docker" "start" "-a" "daaca8b57d58fdb5d9d6fa8c47d987df3364c72b449114f9e34b6f78bcc350a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daaca8b57d58fdb5d9d6fa8c47d987df3364c72b449114f9e34b6f78bcc350a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daaca8b57d58fdb5d9d6fa8c47d987df3364c72b449114f9e34b6f78bcc350a3", kill_on_drop: false }` [INFO] [stdout] daaca8b57d58fdb5d9d6fa8c47d987df3364c72b449114f9e34b6f78bcc350a3 [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00bc7940796379f504f21e77aadccafb0c49ec2d0c6977477982986df27f7c80 [INFO] running `Command { std: "docker" "start" "-a" "00bc7940796379f504f21e77aadccafb0c49ec2d0c6977477982986df27f7c80", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling askama_escape v0.2.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking find-msvc-tools v0.1.0 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking cc v1.2.35 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling tracers-core v0.1.0 [INFO] [stderr] Checking pkg-config v0.3.32 [INFO] [stderr] Checking darling v0.10.2 [INFO] [stderr] Compiling quickcheck_macros v0.8.0 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking serde_str v0.1.0 [INFO] [stderr] Checking cargo_metadata v0.9.1 [INFO] [stderr] Checking askama_shared v0.8.0 [INFO] [stderr] Checking proc-macro-crate v0.1.5 [INFO] [stderr] Compiling askama_derive v0.8.0 [INFO] [stderr] Checking askama v0.8.0 [INFO] [stderr] Checking tracers-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> src/testdata.rs:667:81 [INFO] [stdout] | [INFO] [stdout] 667 | let temp_dir = tempdir().expect("Failed to create temporary directory").into_path(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `force_static_noop` is never read [INFO] [stdout] --> src/build_rs.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct FeatureFlags { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | force_static_noop: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeatureFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: method `build_info` is never used [INFO] [stdout] --> src/gen/common/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) trait ProviderTraitGeneratorBase { [INFO] [stdout] | -------------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn build_info(&self) -> &BuildInfo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_TracersError` [INFO] [stdout] 18 | pub enum TracersError { [INFO] [stdout] | ------------ `TracersError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracers-codegen` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: field `force_static_noop` is never read [INFO] [stdout] --> src/build_rs.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct FeatureFlags { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | force_static_noop: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeatureFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: method `build_info` is never used [INFO] [stdout] --> src/gen/common/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) trait ProviderTraitGeneratorBase { [INFO] [stdout] | -------------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn build_info(&self) -> &BuildInfo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `name` is never read [INFO] [stdout] --> src/testdata.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) struct Target { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 121 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/build_rs.rs:553:17 [INFO] [stdout] | [INFO] [stdout] 553 | context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(non_fmt_panics)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 553 | "{}", context [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/build_rs.rs:569:21 [INFO] [stdout] | [INFO] [stdout] 569 | context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 569 | "{}", context [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_TracersError` [INFO] [stdout] 18 | pub enum TracersError { [INFO] [stdout] | ------------ `TracersError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/gen/static/native_code/mod.rs:296:44 [INFO] [stdout] | [INFO] [stdout] 296 | for first_run in [true, false].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(array_into_iter)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 296 - for first_run in [true, false].into_iter() { [INFO] [stdout] 296 + for first_run in [true, false].iter() { [INFO] [stdout] | [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 296 - for first_run in [true, false].into_iter() { [INFO] [stdout] 296 + for first_run in [true, false] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracers-codegen` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "00bc7940796379f504f21e77aadccafb0c49ec2d0c6977477982986df27f7c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00bc7940796379f504f21e77aadccafb0c49ec2d0c6977477982986df27f7c80", kill_on_drop: false }` [INFO] [stdout] 00bc7940796379f504f21e77aadccafb0c49ec2d0c6977477982986df27f7c80