[INFO] fetching crate libimagcounter 0.4.0... [INFO] testing libimagcounter-0.4.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate libimagcounter 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate libimagcounter 0.4.0 [INFO] finished tweaking crates.io crate libimagcounter 0.4.0 [INFO] tweaked toml for crates.io crate libimagcounter 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libimagcounter 0.4.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 68 packages to latest compatible versions [INFO] [stderr] Adding error-chain v0.10.0 (available: v0.12.4) [INFO] [stderr] Adding libimagerror v0.4.0 (available: v0.10.1) [INFO] [stderr] Adding libimagstore v0.4.0 (available: v0.10.1) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.29) [INFO] [stderr] Adding toml v0.4.10 (available: v1.1.2+spec-1.1.0) [INFO] [stderr] Adding toml-query v0.3.1 (available: v0.11.0) [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] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded toml v0.4.10 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded toml-query v0.3.1 [INFO] [stderr] Downloaded matches v0.1.10 [INFO] [stderr] Downloaded libimagerror v0.4.0 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded libimagstore v0.4.0 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded semver v0.8.0 [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded rustc-demangle v0.1.27 [INFO] [stderr] Downloaded error-chain v0.10.0 [INFO] [stderr] Downloaded boolinator v2.4.0 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded libimagutil v0.4.0 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded is-match v0.1.0 [INFO] [stderr] Downloaded version v2.0.1 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6ecfed0dfb1096f84c3c27d4ee83c04916470b40109fe50be3ec1db9d1cce009 [INFO] running `Command { std: "docker" "start" "-a" "6ecfed0dfb1096f84c3c27d4ee83c04916470b40109fe50be3ec1db9d1cce009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ecfed0dfb1096f84c3c27d4ee83c04916470b40109fe50be3ec1db9d1cce009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ecfed0dfb1096f84c3c27d4ee83c04916470b40109fe50be3ec1db9d1cce009", kill_on_drop: false }` [INFO] [stdout] 6ecfed0dfb1096f84c3c27d4ee83c04916470b40109fe50be3ec1db9d1cce009 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cfadf384e78102ffccb6e92d45962dbcd9981732695cd97b7705d6ef840ef1e5 [INFO] running `Command { std: "docker" "start" "-a" "cfadf384e78102ffccb6e92d45962dbcd9981732695cd97b7705d6ef840ef1e5", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling is-match v0.1.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling version v2.0.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling libimagerror v0.4.0 [INFO] [stderr] Compiling semver v0.8.0 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling libimagutil v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling toml-query v0.3.1 [INFO] [stderr] Compiling libimagstore v0.4.0 [INFO] [stderr] Compiling libimagcounter v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let id = try!(ModuleEntryPath::new(name.clone()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | let mut lockentry = try!(store.create(id).chain_err(|| CEK::StoreWriteError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | match try!(header.read(&query).chain_err(|| CEK::StoreReadError)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | match try!(header.read(&query).chain_err(|| CEK::StoreReadError)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | let id = try!(ModuleEntryPath::new(name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | let id = try!(ModuleEntryPath::new(name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/counter.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_storeid(&Store, StoreId) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Store` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/counter.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_storeid(&Store, StoreId) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: StoreId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(store: &Store, name: CounterName, init: i64) -> Result { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 66 | pub fn new(store: &Store, name: CounterName, init: i64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn load(name: CounterName, store: &Store) -> Result { [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] 193 | pub fn load(name: CounterName, store: &Store) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn all_counters(store: &Store) -> Result { [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] 209 | pub fn all_counters(store: &Store) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_storeid(&Store, StoreId) -> Result; [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] 218 | fn from_storeid(&Store, StoreId) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | fn from_storeid(store: &Store, id: StoreId) -> Result { [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] 223 | fn from_storeid(store: &Store, id: StoreId) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.82s [INFO] running `Command { std: "docker" "inspect" "cfadf384e78102ffccb6e92d45962dbcd9981732695cd97b7705d6ef840ef1e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfadf384e78102ffccb6e92d45962dbcd9981732695cd97b7705d6ef840ef1e5", kill_on_drop: false }` [INFO] [stdout] cfadf384e78102ffccb6e92d45962dbcd9981732695cd97b7705d6ef840ef1e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be730490d09b50fcddc3e2262f91f51f03efd5224a0181a061c08fb856eb6836 [INFO] running `Command { std: "docker" "start" "-a" "be730490d09b50fcddc3e2262f91f51f03efd5224a0181a061c08fb856eb6836", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let id = try!(ModuleEntryPath::new(name.clone()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | let mut lockentry = try!(store.create(id).chain_err(|| CEK::StoreWriteError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | match try!(header.read(&query).chain_err(|| CEK::StoreReadError)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | match try!(header.read(&query).chain_err(|| CEK::StoreReadError)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | let id = try!(ModuleEntryPath::new(name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | let id = try!(ModuleEntryPath::new(name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/counter.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_storeid(&Store, StoreId) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Store` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/counter.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_storeid(&Store, StoreId) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: StoreId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(store: &Store, name: CounterName, init: i64) -> Result { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 66 | pub fn new(store: &Store, name: CounterName, init: i64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn load(name: CounterName, store: &Store) -> Result { [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] 193 | pub fn load(name: CounterName, store: &Store) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn all_counters(store: &Store) -> Result { [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] 209 | pub fn all_counters(store: &Store) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libimagcounter v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_storeid(&Store, StoreId) -> Result; [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] 218 | fn from_storeid(&Store, StoreId) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | fn from_storeid(store: &Store, id: StoreId) -> Result { [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] 223 | fn from_storeid(store: &Store, id: StoreId) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let id = try!(ModuleEntryPath::new(name.clone()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | let mut lockentry = try!(store.create(id).chain_err(|| CEK::StoreWriteError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | match try!(header.read(&query).chain_err(|| CEK::StoreReadError)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | match try!(header.read(&query).chain_err(|| CEK::StoreReadError)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | let id = try!(ModuleEntryPath::new(name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | let id = try!(ModuleEntryPath::new(name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/counter.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_storeid(&Store, StoreId) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Store` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/counter.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_storeid(&Store, StoreId) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: StoreId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(store: &Store, name: CounterName, init: i64) -> Result { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 66 | pub fn new(store: &Store, name: CounterName, init: i64) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn load(name: CounterName, store: &Store) -> Result { [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] 193 | pub fn load(name: CounterName, store: &Store) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn all_counters(store: &Store) -> Result { [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] 209 | pub fn all_counters(store: &Store) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | fn from_storeid(&Store, StoreId) -> Result; [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] 218 | fn from_storeid(&Store, StoreId) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:223:28 [INFO] [stdout] | [INFO] [stdout] 223 | fn from_storeid(store: &Store, id: StoreId) -> Result { [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] 223 | fn from_storeid(store: &Store, id: StoreId) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "be730490d09b50fcddc3e2262f91f51f03efd5224a0181a061c08fb856eb6836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be730490d09b50fcddc3e2262f91f51f03efd5224a0181a061c08fb856eb6836", kill_on_drop: false }` [INFO] [stdout] be730490d09b50fcddc3e2262f91f51f03efd5224a0181a061c08fb856eb6836 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3f08d8c54153a341e08056be9023260c9dbc8dee1dbb893b16e4d18af58df02 [INFO] running `Command { std: "docker" "start" "-a" "b3f08d8c54153a341e08056be9023260c9dbc8dee1dbb893b16e4d18af58df02", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/counter.rs:71:22 [INFO] [stderr] | [INFO] [stderr] 71 | let id = try!(ModuleEntryPath::new(name.clone()) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/counter.rs:74:33 [INFO] [stderr] | [INFO] [stderr] 74 | let mut lockentry = try!(store.create(id).chain_err(|| CEK::StoreWriteError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/counter.rs:118:15 [INFO] [stderr] | [INFO] [stderr] 118 | match try!(header.read(&query).chain_err(|| CEK::StoreReadError)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/counter.rs:131:15 [INFO] [stderr] | [INFO] [stderr] 131 | match try!(header.read(&query).chain_err(|| CEK::StoreReadError)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/counter.rs:195:18 [INFO] [stderr] | [INFO] [stderr] 195 | let id = try!(ModuleEntryPath::new(name) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/counter.rs:203:18 [INFO] [stderr] | [INFO] [stderr] 203 | let id = try!(ModuleEntryPath::new(name) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/counter.rs:218:21 [INFO] [stderr] | [INFO] [stderr] 218 | fn from_storeid(&Store, StoreId) -> Result; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Store` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/counter.rs:218:29 [INFO] [stderr] | [INFO] [stderr] 218 | fn from_storeid(&Store, StoreId) -> Result; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: StoreId` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/counter.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn new(store: &Store, name: CounterName, init: i64) -> Result { [INFO] [stderr] | ^^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 66 | pub fn new(store: &Store, name: CounterName, init: i64) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/counter.rs:193:43 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn load(name: CounterName, store: &Store) -> Result { [INFO] [stderr] | ^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 193 | pub fn load(name: CounterName, store: &Store) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/counter.rs:209:32 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn all_counters(store: &Store) -> Result { [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 209 | pub fn all_counters(store: &Store) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/counter.rs:218:21 [INFO] [stderr] | [INFO] [stderr] 218 | fn from_storeid(&Store, StoreId) -> Result; [INFO] [stderr] | ^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 218 | fn from_storeid(&Store, StoreId) -> Result>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/counter.rs:223:28 [INFO] [stderr] | [INFO] [stderr] 223 | fn from_storeid(store: &Store, id: StoreId) -> Result { [INFO] [stderr] | ^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 223 | fn from_storeid(store: &Store, id: StoreId) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `libimagcounter` (lib) generated 13 warnings (run `cargo fix --lib -p libimagcounter` to apply 7 suggestions) [INFO] [stderr] warning: `libimagcounter` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libimagcounter-ea5be903779022e1) [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] [stderr] Doc-tests libimagcounter [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" "b3f08d8c54153a341e08056be9023260c9dbc8dee1dbb893b16e4d18af58df02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3f08d8c54153a341e08056be9023260c9dbc8dee1dbb893b16e4d18af58df02", kill_on_drop: false }` [INFO] [stdout] b3f08d8c54153a341e08056be9023260c9dbc8dee1dbb893b16e4d18af58df02