[INFO] fetching crate soma-ctf 0.1.0-alpha... [INFO] checking soma-ctf-0.1.0-alpha against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] extracting crate soma-ctf 0.1.0-alpha into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate soma-ctf 0.1.0-alpha [INFO] finished tweaking crates.io crate soma-ctf 0.1.0-alpha [INFO] tweaked toml for crates.io crate soma-ctf 0.1.0-alpha written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate soma-ctf 0.1.0-alpha on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "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" "+f70ee28831acc074c109afab32d287057c3eca46" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 261 packages to latest compatible versions [INFO] [stderr] Adding bollard v0.2.1 (available: v0.19.4) [INFO] [stderr] Adding clap v2.32.0 (available: v2.34.0) [INFO] [stderr] Adding crossterm v0.6.0 (available: v0.29.0) [INFO] [stderr] Adding dirs v1.0.5 (available: v6.0.0) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding git2 v0.8.0 (available: v0.20.3) [INFO] [stderr] Adding handlebars v1.1.0 (available: v6.3.2) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.8.1) [INFO] [stderr] Adding path-slash v0.1.5 (available: v0.2.1) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v1.0.0) [INFO] [stderr] Adding serde_cbor v0.9.0 (available: v0.11.2) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.48.0) [INFO] [stderr] Adding toml v0.4.10 (available: v0.9.8) [INFO] [stderr] Adding typetag v0.1.8 (available: v0.2.21) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding whoami v0.4.1 (available: v1.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d0d093a80a2e5552b58037c33c65167381e6a3e7a72c30b723f81b93ac1bfab [INFO] running `Command { std: "docker" "start" "-a" "4d0d093a80a2e5552b58037c33c65167381e6a3e7a72c30b723f81b93ac1bfab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d0d093a80a2e5552b58037c33c65167381e6a3e7a72c30b723f81b93ac1bfab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d0d093a80a2e5552b58037c33c65167381e6a3e7a72c30b723f81b93ac1bfab", kill_on_drop: false }` [INFO] [stdout] 4d0d093a80a2e5552b58037c33c65167381e6a3e7a72c30b723f81b93ac1bfab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0485629d5d4ed8688f35b2f389a2d75e937ed03814d306bb90fc5320fd47f727 [INFO] running `Command { std: "docker" "start" "-a" "0485629d5d4ed8688f35b2f389a2d75e937ed03814d306bb90fc5320fd47f727", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking crossterm_utils v0.1.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling curl-sys v0.4.84+curl-8.17.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking crossterm_cursor v0.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking crossterm_terminal v0.1.0 [INFO] [stderr] Checking crossterm_style v0.1.0 [INFO] [stderr] Checking crossterm_input v0.1.0 [INFO] [stderr] Checking crossterm_screen v0.1.0 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking crossterm v0.6.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking whoami v0.4.1 [INFO] [stderr] Checking path-slash v0.1.5 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling typetag-impl v0.1.8 [INFO] [stderr] Checking inventory v0.2.3 [INFO] [stderr] Checking hyperlocal v0.6.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking serde_cbor v0.9.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking typetag v0.1.8 [INFO] [stderr] Checking bollard v0.2.1 [INFO] [stderr] Checking git2 v0.8.0 [INFO] [stderr] Checking soma-ctf v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn printer(&self) -> RefMut
{
[INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 73 | pub fn printer(&self) -> RefMut<'_, P> {
[INFO] [stdout] | +++
[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/error.rs:3:17
[INFO] [stdout] |
[INFO] [stdout] 3 | #[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_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout] | ----- `Error` 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/error.rs:3:17
[INFO] [stdout] |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[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_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout] | ----- `Error` 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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/repository.rs:77:20
[INFO] [stdout] |
[INFO] [stdout] 77 | pub fn manager(&self) -> &'a RepositoryManager {
[INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 77 | pub fn manager(&self) -> &'a RepositoryManager<'_> {
[INFO] [stdout] | ++++
[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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Send` is not local
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Sync` is not local
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Send` is not local
[INFO] [stdout] | `Sync` is not local
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Strictest` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Box` is not local
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/repository/manager.rs:103:21
[INFO] [stdout] |
[INFO] [stdout] 103 | pub fn get_repo(&self, repo_name: impl AsRef {
[INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 73 | pub fn printer(&self) -> RefMut<'_, P> {
[INFO] [stdout] | +++
[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/error.rs:3:17
[INFO] [stdout] |
[INFO] [stdout] 3 | #[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_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout] | ----- `Error` 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/error.rs:3:17
[INFO] [stdout] |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[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_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout] | ----- `Error` 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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/repository.rs:77:20
[INFO] [stdout] |
[INFO] [stdout] 77 | pub fn manager(&self) -> &'a RepositoryManager {
[INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 77 | pub fn manager(&self) -> &'a RepositoryManager<'_> {
[INFO] [stdout] | ++++
[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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Send` is not local
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Sync` is not local
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Send` is not local
[INFO] [stdout] | `Sync` is not local
[INFO] [stdout] | `Serialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Strictest` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (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/repository/backend.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[typetag::serde(tag = "type")]
[INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | `Box` is not local
[INFO] [stdout] | `Deserialize` is not local
[INFO] [stdout] | move the `impl` block outside of this constant `_Backend_registry`
[INFO] [stdout] 13 | pub trait Backend: BackendClone + Display {
[INFO] [stdout] | ------- `Backend` is not local
[INFO] [stdout] |
[INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl`
[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 attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/repository/manager.rs:103:21
[INFO] [stdout] |
[INFO] [stdout] 103 | pub fn get_repo(&self, repo_name: impl AsRef