[INFO] fetching crate tracers-codegen 0.1.0... [INFO] testing tracers-codegen-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate tracers-codegen 0.1.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tracers-codegen 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding askama v0.8.0 (available: v0.15.6) [INFO] [stderr] Adding cargo_metadata v0.9.1 (available: v0.23.1) [INFO] [stderr] Adding darling v0.10.2 (available: v0.23.0) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.5.0) [INFO] [stderr] Adding quickcheck v0.9.2 (available: v1.1.0) [INFO] [stderr] Adding quickcheck_macros v0.8.0 (available: v1.2.0) [INFO] [stderr] Adding strum v0.16.0 (available: v0.28.0) [INFO] [stderr] Adding strum_macros v0.16.0 (available: v0.28.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.117) [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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck v0.9.2 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded strsim v0.9.3 [INFO] [stderr] Downloaded askama v0.8.0 [INFO] [stderr] Downloaded askama_derive v0.8.0 [INFO] [stderr] Downloaded darling_core v0.10.2 [INFO] [stderr] Downloaded serde_str v0.1.0 [INFO] [stderr] Downloaded cargo_metadata v0.9.1 [INFO] [stderr] Downloaded darling v0.10.2 [INFO] [stderr] Downloaded tracers-core v0.1.0 [INFO] [stderr] Downloaded askama_escape v0.2.0 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded humansize v1.1.1 [INFO] [stderr] Downloaded askama_shared v0.8.0 [INFO] [stderr] Downloaded darling_macro v0.10.2 [INFO] [stderr] Downloaded strum v0.16.0 [INFO] [stderr] Downloaded quickcheck_macros v0.8.0 [INFO] [stderr] Downloaded strum_macros v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa035f37f3f3cfd2ec1485a31aa3817a01b868f38309160e71a9773e51dc42ff [INFO] running `Command { std: "docker" "start" "-a" "fa035f37f3f3cfd2ec1485a31aa3817a01b868f38309160e71a9773e51dc42ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa035f37f3f3cfd2ec1485a31aa3817a01b868f38309160e71a9773e51dc42ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa035f37f3f3cfd2ec1485a31aa3817a01b868f38309160e71a9773e51dc42ff", kill_on_drop: false }` [INFO] [stdout] fa035f37f3f3cfd2ec1485a31aa3817a01b868f38309160e71a9773e51dc42ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b06a0c5080a1cf861b667292e6a3fbc55281ced81ee2850553927f745dda2d74 [INFO] running `Command { std: "docker" "start" "-a" "b06a0c5080a1cf861b667292e6a3fbc55281ced81ee2850553927f745dda2d74", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling askama_escape v0.2.0 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling strum v0.16.0 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling tempfile v3.27.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 failure v0.1.8 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracers-core v0.1.0 [INFO] [stderr] Compiling toml v0.4.10 [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 cargo_metadata v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling askama_shared v0.8.0 [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: use of deprecated method `cc::Build::static_flag`: cc only creates static libraries, setting this does nothing [INFO] [stdout] --> src/gen/static/native_code/target/lttng.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | .static_flag(true) [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: use of deprecated method `cc::Build::static_flag`: cc only creates static libraries, setting this does nothing [INFO] [stdout] --> src/gen/static/native_code/target/stap.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | .static_flag(true) [INFO] [stdout] | ^^^^^^^^^^^ [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: `#[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 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b06a0c5080a1cf861b667292e6a3fbc55281ced81ee2850553927f745dda2d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b06a0c5080a1cf861b667292e6a3fbc55281ced81ee2850553927f745dda2d74", kill_on_drop: false }` [INFO] [stdout] b06a0c5080a1cf861b667292e6a3fbc55281ced81ee2850553927f745dda2d74