[INFO] fetching crate thoth-api 0.2.1... [INFO] testing thoth-api-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate thoth-api 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate thoth-api 0.2.1 [INFO] finished tweaking crates.io crate thoth-api 0.2.1 [INFO] tweaked toml for crates.io crate thoth-api 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate thoth-api 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 340 packages to latest compatible versions [INFO] [stderr] Adding actix-web v3.3.3 (available: v4.11.0) [INFO] [stderr] Adding diesel v1.4.8 (available: v2.3.2) [INFO] [stderr] Adding diesel-derive-enum v1.1.2 (available: v2.1.0) [INFO] [stderr] Adding diesel_migrations v1.4.0 (available: v2.3.0) [INFO] [stderr] Adding dotenv v0.9.0 (available: v0.15.0) [INFO] [stderr] Adding jsonwebtoken v7.2.0 (available: v10.0.0) [INFO] [stderr] Adding juniper v0.14.2 (available: v0.17.0) [INFO] [stderr] Adding phf v0.8.0 (available: v0.13.1) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.23) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.1) [INFO] [stderr] Adding xml-rs v0.8.27 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_asn1 v0.4.1 [INFO] [stderr] Downloaded actix-threadpool v0.3.3 [INFO] [stderr] Downloaded actix-web-codegen v0.4.0 [INFO] [stderr] Downloaded discard v1.0.4 [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.9 [INFO] [stderr] Downloaded jsonwebtoken v7.2.0 [INFO] [stderr] Downloaded tokio-tls v0.3.1 [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded winreg v0.7.0 [INFO] [stderr] Downloaded juniper_codegen v0.14.2 [INFO] [stderr] Downloaded cookie v0.14.4 [INFO] [stderr] Downloaded actix-macros v0.1.3 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded lru-cache v0.1.2 [INFO] [stderr] Downloaded time v0.2.27 [INFO] [stderr] Downloaded actix-rt v1.1.1 [INFO] [stderr] Downloaded actix-server v1.0.4 [INFO] [stderr] Downloaded widestring v0.4.3 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.7 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded actix-tls v2.0.0 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded reqwest v0.10.10 [INFO] [stderr] Downloaded actix-router v0.2.7 [INFO] [stderr] Downloaded enum-as-inner v0.3.4 [INFO] [stderr] Downloaded winreg v0.6.2 [INFO] [stderr] Downloaded resolv-conf v0.7.5 [INFO] [stderr] Downloaded bytestring v1.5.0 [INFO] [stderr] Downloaded actix-testing v1.0.1 [INFO] [stderr] Downloaded hyper-tls v0.4.3 [INFO] [stderr] Downloaded stdweb v0.4.20 [INFO] [stderr] Downloaded pq-sys v0.4.8 [INFO] [stderr] Downloaded actix-web v3.3.3 [INFO] [stderr] Downloaded juniper v0.14.2 [INFO] [stderr] Downloaded trust-dns-resolver v0.19.7 [INFO] [stderr] Downloaded standback v0.2.17 [INFO] [stderr] Downloaded copyless v0.1.5 [INFO] [stderr] Downloaded actix-service v1.0.6 [INFO] [stderr] Downloaded const_fn v0.4.11 [INFO] [stderr] Downloaded stdweb-internal-runtime v0.1.5 [INFO] [stderr] Downloaded cargo-husky v1.5.0 [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded dotenv v0.9.0 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded ipconfig v0.2.2 [INFO] [stderr] Downloaded actix-connect v2.0.0 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] [stderr] Downloaded threadpool v1.8.1 [INFO] [stderr] Downloaded awc v2.0.3 [INFO] [stderr] Downloaded time-macros v0.1.1 [INFO] [stderr] Downloaded diesel-derive-enum v1.1.2 [INFO] [stderr] Downloaded actix-codec v0.3.0 [INFO] [stderr] Downloaded actix-utils v2.0.0 [INFO] [stderr] Downloaded actix-http v2.2.2 [INFO] [stderr] Downloaded time-macros-impl v0.1.2 [INFO] [stderr] Downloaded trust-dns-proto v0.19.7 [INFO] [stderr] Downloaded r2d2 v0.8.10 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded stdweb-derive v0.5.3 [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded argon2rs v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5ad72875d1ad0e81f84235a447ce1b0ff0b8835de5ea517c5762102c8fca626 [INFO] running `Command { std: "docker" "start" "-a" "e5ad72875d1ad0e81f84235a447ce1b0ff0b8835de5ea517c5762102c8fca626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5ad72875d1ad0e81f84235a447ce1b0ff0b8835de5ea517c5762102c8fca626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ad72875d1ad0e81f84235a447ce1b0ff0b8835de5ea517c5762102c8fca626", kill_on_drop: false }` [INFO] [stdout] e5ad72875d1ad0e81f84235a447ce1b0ff0b8835de5ea517c5762102c8fca626 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 063f035e2d8b9f85c3e0e3974498e9e786c9eb01d2190f6b6d7e63a687c3f585 [INFO] running `Command { std: "docker" "start" "-a" "063f035e2d8b9f85c3e0e3974498e9e786c9eb01d2190f6b6d7e63a687c3f585", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling argon2rs v0.2.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling juniper v0.14.2 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling thoth-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ThothError` [INFO] [stdout] 10 | pub enum ThothError { [INFO] [stdout] | ---------- `ThothError` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ThothError` [INFO] [stdout] 10 | pub enum ThothError { [INFO] [stdout] | ---------- `ThothError` 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: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.98s [INFO] running `Command { std: "docker" "inspect" "063f035e2d8b9f85c3e0e3974498e9e786c9eb01d2190f6b6d7e63a687c3f585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063f035e2d8b9f85c3e0e3974498e9e786c9eb01d2190f6b6d7e63a687c3f585", kill_on_drop: false }` [INFO] [stdout] 063f035e2d8b9f85c3e0e3974498e9e786c9eb01d2190f6b6d7e63a687c3f585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 207175aea65820eff5a2eb6b3b2d5365a9f1020b5d5567f7e3b5e2993d621722 [INFO] running `Command { std: "docker" "start" "-a" "207175aea65820eff5a2eb6b3b2d5365a9f1020b5d5567f7e3b5e2993d621722", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ThothError` [INFO] [stdout] 10 | pub enum ThothError { [INFO] [stdout] | ---------- `ThothError` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ThothError` [INFO] [stdout] 10 | pub enum ThothError { [INFO] [stdout] | ---------- `ThothError` 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: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thoth-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ThothError` [INFO] [stdout] 10 | pub enum ThothError { [INFO] [stdout] | ---------- `ThothError` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ThothError` [INFO] [stdout] 10 | pub enum ThothError { [INFO] [stdout] | ---------- `ThothError` 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: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.75s [INFO] running `Command { std: "docker" "inspect" "207175aea65820eff5a2eb6b3b2d5365a9f1020b5d5567f7e3b5e2993d621722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207175aea65820eff5a2eb6b3b2d5365a9f1020b5d5567f7e3b5e2993d621722", kill_on_drop: false }` [INFO] [stdout] 207175aea65820eff5a2eb6b3b2d5365a9f1020b5d5567f7e3b5e2993d621722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7bc55e74cc64e1982f755f49e85fb6b112decf52640650b21c6f5f9a8c9a4fb [INFO] running `Command { std: "docker" "start" "-a" "e7bc55e74cc64e1982f755f49e85fb6b112decf52640650b21c6f5f9a8c9a4fb", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/errors.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ThothError` [INFO] [stderr] 10 | pub enum ThothError { [INFO] [stderr] | ---------- `ThothError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/errors.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ThothError` [INFO] [stderr] 10 | pub enum ThothError { [INFO] [stderr] | ---------- `ThothError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `thoth-api` (lib) generated 2 warnings [INFO] [stderr] warning: `thoth-api` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thoth_api-9d660b8d33b2020c) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test contribution::model::test_contributiontype_default ... ok [INFO] [stdout] test contribution::model::test_contributiontype_fromstr ... ok [INFO] [stdout] test language::model::test_languagecode_default ... ok [INFO] [stdout] test language::model::test_languagecode_display ... ok [INFO] [stdout] test language::model::test_languagerelation_default ... ok [INFO] [stdout] test contribution::model::test_contributiontype_display ... ok [INFO] [stdout] test language::model::test_languagerelation_fromstr ... ok [INFO] [stdout] test language::model::test_languagerelation_display ... ok [INFO] [stdout] test subject::model::test_subjecttype_default ... ok [INFO] [stdout] test subject::model::test_subjecttype_fromstr ... ok [INFO] [stdout] test subject::model::test_check_subject ... ok [INFO] [stdout] test work::model::test_workstatus_default ... ok [INFO] [stdout] test work::model::test_worktype_default ... ok [INFO] [stdout] test work::model::test_worktype_display ... ok [INFO] [stdout] test work::model::test_workstatus_display ... ok [INFO] [stdout] test publication::model::test_publicationtype_display ... ok [INFO] [stdout] test publication::model::test_publicationtype_fromstr ... ok [INFO] [stdout] test series::model::test_seriestype_display ... ok [INFO] [stdout] test series::model::test_seriestype_fromstr ... ok [INFO] [stdout] test publication::model::test_publicationtype_default ... ok [INFO] [stdout] test series::model::test_seriestype_default ... ok [INFO] [stdout] test work::model::test_workstatus_fromstr ... ok [INFO] [stdout] test price::model::test_currencycode_default ... ok [INFO] [stdout] test subject::model::test_subjecttype_display ... ok [INFO] [stdout] test language::model::test_languagecode_fromstr ... ok [INFO] [stdout] test work::model::test_worktype_fromstr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests thoth_api [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e7bc55e74cc64e1982f755f49e85fb6b112decf52640650b21c6f5f9a8c9a4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7bc55e74cc64e1982f755f49e85fb6b112decf52640650b21c6f5f9a8c9a4fb", kill_on_drop: false }` [INFO] [stdout] e7bc55e74cc64e1982f755f49e85fb6b112decf52640650b21c6f5f9a8c9a4fb