[INFO] fetching crate tracers-codegen 0.1.0... [INFO] testing tracers-codegen-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tracers-codegen 0.1.0 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tracers-codegen 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4d20c9bf582117dd87013955ce8226770a4509322db5c1f61d64440abc1a241 [INFO] running `Command { std: "docker" "start" "-a" "c4d20c9bf582117dd87013955ce8226770a4509322db5c1f61d64440abc1a241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4d20c9bf582117dd87013955ce8226770a4509322db5c1f61d64440abc1a241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d20c9bf582117dd87013955ce8226770a4509322db5c1f61d64440abc1a241", kill_on_drop: false }` [INFO] [stdout] c4d20c9bf582117dd87013955ce8226770a4509322db5c1f61d64440abc1a241 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de7716b9cb3e3e72918097f3f6d0dd8ae05c6d9211b3b8e92ac7fb17f615ab5 [INFO] running `Command { std: "docker" "start" "-a" "7de7716b9cb3e3e72918097f3f6d0dd8ae05c6d9211b3b8e92ac7fb17f615ab5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling strsim v0.9.3 [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 nom v4.2.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling strum v0.16.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tracers-core v0.1.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_str v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling askama_shared v0.8.0 [INFO] [stderr] Compiling cargo_metadata v0.9.1 [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" "7de7716b9cb3e3e72918097f3f6d0dd8ae05c6d9211b3b8e92ac7fb17f615ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de7716b9cb3e3e72918097f3f6d0dd8ae05c6d9211b3b8e92ac7fb17f615ab5", kill_on_drop: false }` [INFO] [stdout] 7de7716b9cb3e3e72918097f3f6d0dd8ae05c6d9211b3b8e92ac7fb17f615ab5