[INFO] fetching crate tracers-codegen 0.1.0... [INFO] testing tracers-codegen-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-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 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 101 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.23.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.4.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracers-core v0.1.0 [INFO] [stderr] Downloaded darling_macro v0.10.2 [INFO] [stderr] Downloaded strum_macros v0.16.0 [INFO] [stderr] Downloaded quickcheck_macros v0.8.0 [INFO] [stderr] Downloaded quickcheck v0.9.2 [INFO] [stderr] Downloaded darling v0.10.2 [INFO] [stderr] Downloaded darling_core v0.10.2 [INFO] [stderr] Downloaded askama_derive v0.8.0 [INFO] [stderr] Downloaded cargo_metadata v0.9.1 [INFO] [stderr] Downloaded askama_escape v0.2.0 [INFO] [stderr] Downloaded askama_shared v0.8.0 [INFO] [stderr] Downloaded askama v0.8.0 [INFO] [stderr] Downloaded strum v0.16.0 [INFO] [stderr] Downloaded serde_str v0.1.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ab6613cf638377a7c65a276726956ceae2e9a5d2b9115b5327a9c42b58e43c2 [INFO] running `Command { std: "docker" "start" "-a" "4ab6613cf638377a7c65a276726956ceae2e9a5d2b9115b5327a9c42b58e43c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ab6613cf638377a7c65a276726956ceae2e9a5d2b9115b5327a9c42b58e43c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab6613cf638377a7c65a276726956ceae2e9a5d2b9115b5327a9c42b58e43c2", kill_on_drop: false }` [INFO] [stdout] 4ab6613cf638377a7c65a276726956ceae2e9a5d2b9115b5327a9c42b58e43c2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71a163ff5483597a3d7b7298129219c225c472b7c4fd20676292b6ace43e2722 [INFO] running `Command { std: "docker" "start" "-a" "71a163ff5483597a3d7b7298129219c225c472b7c4fd20676292b6ace43e2722", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling askama_escape v0.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling strum v0.16.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_str v0.1.0 [INFO] [stderr] Compiling cargo_metadata v0.9.1 [INFO] [stderr] Compiling tracers-core v0.1.0 [INFO] [stderr] Compiling askama_shared v0.8.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling askama_derive v0.8.0 [INFO] [stderr] Compiling askama v0.8.0 [INFO] [stderr] Compiling tracers-codegen v0.1.0 (/opt/rustwide/workdir) [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] running `Command { std: "docker" "inspect" "71a163ff5483597a3d7b7298129219c225c472b7c4fd20676292b6ace43e2722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a163ff5483597a3d7b7298129219c225c472b7c4fd20676292b6ace43e2722", kill_on_drop: false }` [INFO] [stdout] 71a163ff5483597a3d7b7298129219c225c472b7c4fd20676292b6ace43e2722