[INFO] cloning repository https://github.com/Factland/ic-factland [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Factland/ic-factland" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFactland%2Fic-factland", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFactland%2Fic-factland'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12b6c52c86310756eb5061f6e62aad4e7206bffc [INFO] checking Factland/ic-factland against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFactland%2Fic-factland" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Factland/ic-factland [INFO] finished tweaking git repo https://github.com/Factland/ic-factland [INFO] tweaked toml for git repo https://github.com/Factland/ic-factland written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Factland/ic-factland on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Factland/ic-factland already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded vergen v6.0.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.47 [INFO] [stderr] Downloaded jobserver v0.1.26 [INFO] [stderr] Downloaded thiserror v1.0.47 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded candid_derive v0.6.2 [INFO] [stderr] Downloaded ic-cdk v0.10.0 [INFO] [stderr] Downloaded num-complex v0.4.4 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] [stderr] Downloaded toml_edit v0.19.14 [INFO] [stderr] Downloaded candid v0.9.3 [INFO] [stderr] Downloaded serde v1.0.186 [INFO] [stderr] Downloaded serde_derive v1.0.186 [INFO] [stderr] Downloaded typenum v1.16.0 [INFO] [stderr] Downloaded git2 v0.17.2 [INFO] [stderr] Downloaded sha2 v0.10.7 [INFO] [stderr] Downloaded sysinfo v0.23.13 [INFO] [stderr] Downloaded pretty v0.12.1 [INFO] [stderr] Downloaded cpufeatures v0.2.9 [INFO] [stderr] Downloaded ic-cdk-macros v0.7.1 [INFO] [stderr] Downloaded syn v2.0.29 [INFO] [stderr] Downloaded serde_bytes v0.11.12 [INFO] [stderr] Downloaded enum-iterator v0.8.1 [INFO] [stderr] Downloaded getset v0.1.2 [INFO] [stderr] Downloaded num v0.4.1 [INFO] [stderr] Downloaded enum-iterator-derive v0.8.1 [INFO] [stderr] Downloaded libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Downloaded libz-sys v1.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f19d4d9ef8749204b5eb7c15dea6ea8ac697f81b076f9798b9c71e5fbf600e9b [INFO] running `Command { std: "docker" "start" "-a" "f19d4d9ef8749204b5eb7c15dea6ea8ac697f81b076f9798b9c71e5fbf600e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f19d4d9ef8749204b5eb7c15dea6ea8ac697f81b076f9798b9c71e5fbf600e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f19d4d9ef8749204b5eb7c15dea6ea8ac697f81b076f9798b9c71e5fbf600e9b", kill_on_drop: false }` [INFO] [stdout] f19d4d9ef8749204b5eb7c15dea6ea8ac697f81b076f9798b9c71e5fbf600e9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c4f416ea6fa6db8f0d3ddd2b30e41245302cb853b883b5894585d3c4deeeacf [INFO] running `Command { std: "docker" "start" "-a" "9c4f416ea6fa6db8f0d3ddd2b30e41245302cb853b883b5894585d3c4deeeacf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.186 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling sysinfo v0.23.13 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling candid v0.9.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling pretty v0.12.1 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking ic-stable-structures v0.5.6 [INFO] [stderr] Compiling vergen v6.0.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.186 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling candid_derive v0.6.2 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling enum-iterator-derive v0.8.1 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling git2 v0.17.2 [INFO] [stderr] Compiling enum-iterator v0.8.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling factland v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling ic-cdk-macros v0.7.1 [INFO] [stderr] Checking ic-cdk v0.10.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Debug, CandidType, Deserialize, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Auth` [INFO] [stdout] 38 | enum Auth { [INFO] [stdout] | ---- `Auth` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 43 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 58 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [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/main.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Debug, CandidType, Deserialize, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Auth` [INFO] [stdout] 38 | enum Auth { [INFO] [stdout] | ---- `Auth` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 43 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [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] 58 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.66s [INFO] running `Command { std: "docker" "inspect" "9c4f416ea6fa6db8f0d3ddd2b30e41245302cb853b883b5894585d3c4deeeacf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4f416ea6fa6db8f0d3ddd2b30e41245302cb853b883b5894585d3c4deeeacf", kill_on_drop: false }` [INFO] [stdout] 9c4f416ea6fa6db8f0d3ddd2b30e41245302cb853b883b5894585d3c4deeeacf