[INFO] cloning repository https://github.com/darrint/device-blocker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darrint/device-blocker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrint%2Fdevice-blocker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrint%2Fdevice-blocker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d991ac54e8bf0f4a9cbf4ffbd7c7c4c5f940f3f3 [INFO] testing darrint/device-blocker against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrint%2Fdevice-blocker" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darrint/device-blocker on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/darrint/device-blocker [INFO] finished tweaking git repo https://github.com/darrint/device-blocker [INFO] tweaked toml for git repo https://github.com/darrint/device-blocker written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/darrint/device-blocker 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded params v0.8.0 [INFO] [stderr] Downloaded urlencoded v0.6.0 [INFO] [stderr] Downloaded bodyparser v0.8.0 [INFO] [stderr] Downloaded buf_redux v0.6.3 [INFO] [stderr] Downloaded checksum v0.2.1 [INFO] [stderr] Downloaded persistent v0.4.0 [INFO] [stderr] Downloaded juniper_codegen v0.9.2 [INFO] [stderr] Downloaded juniper_iron v0.1.2 [INFO] [stderr] Downloaded juniper v0.9.2 [INFO] [stderr] Downloaded iron v0.6.1 [INFO] [stderr] Downloaded router v0.6.0 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05779bb89e67d1d7ce0b9b6676bf7af6534a06c231d64bf483be8d489094a68c [INFO] running `Command { std: "docker" "start" "-a" "05779bb89e67d1d7ce0b9b6676bf7af6534a06c231d64bf483be8d489094a68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05779bb89e67d1d7ce0b9b6676bf7af6534a06c231d64bf483be8d489094a68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05779bb89e67d1d7ce0b9b6676bf7af6534a06c231d64bf483be8d489094a68c", kill_on_drop: false }` [INFO] [stdout] 05779bb89e67d1d7ce0b9b6676bf7af6534a06c231d64bf483be8d489094a68c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21c77be3b1b18cc0ba353f2d68011c9308e0a02c3573b0553ef1af87fced4d25 [INFO] running `Command { std: "docker" "start" "-a" "21c77be3b1b18cc0ba353f2d68011c9308e0a02c3573b0553ef1af87fced4d25", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling buf_redux v0.6.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling checksum v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling juniper_codegen v0.9.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling multipart v0.13.6 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling ordermap v0.2.13 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling params v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling error-chain v0.7.2 [INFO] [stderr] Compiling juniper v0.9.2 [INFO] [stderr] Compiling juniper_iron v0.1.2 [INFO] [stderr] Compiling device-blocker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/app_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/app_server.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | fn require_param(&self, String) -> Result<&'a str>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [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 issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/graphql.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | .map(Some).map_err(|e| iron_err(e.description()))? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/graphql.rs:101:88 [INFO] [stdout] | [INFO] [stdout] 101 | let url_query_string = req.get_mut::().map_err(|e| iron_err(e.description()))?; [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/types.rs:64:63 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DeviceOverride` is not local [INFO] [stdout] | `GraphQLType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_DeviceOverride` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:64:63 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DeviceOverride` is not local [INFO] [stdout] | `FromInputValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_DeviceOverride` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:64:63 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DeviceOverride` is not local [INFO] [stdout] | `ToInputValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_DeviceOverride` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:70:63 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GuestPath` is not local [INFO] [stdout] | `GraphQLType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_GuestPath` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:70:63 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GuestPath` is not local [INFO] [stdout] | `FromInputValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_GuestPath` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:70:63 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GuestPath` is not local [INFO] [stdout] | `ToInputValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_GuestPath` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "21c77be3b1b18cc0ba353f2d68011c9308e0a02c3573b0553ef1af87fced4d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c77be3b1b18cc0ba353f2d68011c9308e0a02c3573b0553ef1af87fced4d25", kill_on_drop: false }` [INFO] [stdout] 21c77be3b1b18cc0ba353f2d68011c9308e0a02c3573b0553ef1af87fced4d25 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bcca0b802679c3d94b9da95222c1189bbaa27665410c754306fdbb7bf43a375 [INFO] running `Command { std: "docker" "start" "-a" "5bcca0b802679c3d94b9da95222c1189bbaa27665410c754306fdbb7bf43a375", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling device-blocker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/app_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/app_server.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | fn require_param(&self, String) -> Result<&'a str>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [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 issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:249:42 [INFO] [stdout] | [INFO] [stdout] 249 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:249:58 [INFO] [stdout] | [INFO] [stdout] 249 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:253:42 [INFO] [stdout] | [INFO] [stdout] 253 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:253:58 [INFO] [stdout] | [INFO] [stdout] 253 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:260:64 [INFO] [stdout] | [INFO] [stdout] 260 | ... time_bound: Some(Utc.ymd(2017, 2, 1) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:261:48 [INFO] [stdout] | [INFO] [stdout] 261 | ... .and_hms(10, 0, 0)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:268:64 [INFO] [stdout] | [INFO] [stdout] 268 | ... time_bound: Some(Utc.ymd(2017, 2, 1) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:269:48 [INFO] [stdout] | [INFO] [stdout] 269 | ... .and_hms(11, 0, 0)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | world.expire_bounded(Utc.ymd(2017, 2, 1).and_hms(10, 30, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:288:50 [INFO] [stdout] | [INFO] [stdout] 288 | world.expire_bounded(Utc.ymd(2017, 2, 1).and_hms(10, 30, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:293:42 [INFO] [stdout] | [INFO] [stdout] 293 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:293:58 [INFO] [stdout] | [INFO] [stdout] 293 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:297:42 [INFO] [stdout] | [INFO] [stdout] 297 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:297:58 [INFO] [stdout] | [INFO] [stdout] 297 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:304:64 [INFO] [stdout] | [INFO] [stdout] 304 | ... time_bound: Some(Utc.ymd(2017, 2, 1) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | ... .and_hms(11, 0, 0)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:330:34 [INFO] [stdout] | [INFO] [stdout] 330 | world.expire_bounded(Utc.ymd(2017, 2, 1).and_hms(11, 30, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:330:50 [INFO] [stdout] | [INFO] [stdout] 330 | world.expire_bounded(Utc.ymd(2017, 2, 1).and_hms(11, 30, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | let date_3 = Utc.ymd(2017, 2, 3).and_hms(0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:368:42 [INFO] [stdout] | [INFO] [stdout] 368 | let date_3 = Utc.ymd(2017, 2, 3).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | let date_2 = Utc.ymd(2017, 2, 2).and_hms(0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:371:42 [INFO] [stdout] | [INFO] [stdout] 371 | let date_2 = Utc.ymd(2017, 2, 2).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/schedule.rs:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | let date_1 = Utc.ymd(2017, 2, 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/schedule.rs:374:42 [INFO] [stdout] | [INFO] [stdout] 374 | let date_1 = Utc.ymd(2017, 2, 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/graphql.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | .map(Some).map_err(|e| iron_err(e.description()))? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/graphql.rs:101:88 [INFO] [stdout] | [INFO] [stdout] 101 | let url_query_string = req.get_mut::().map_err(|e| iron_err(e.description()))?; [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/types.rs:64:63 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DeviceOverride` is not local [INFO] [stdout] | `GraphQLType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_DeviceOverride` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:64:63 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DeviceOverride` is not local [INFO] [stdout] | `FromInputValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_DeviceOverride` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:64:63 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DeviceOverride` is not local [INFO] [stdout] | `ToInputValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_DeviceOverride` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:70:63 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GuestPath` is not local [INFO] [stdout] | `GraphQLType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_GuestPath` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:70:63 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GuestPath` is not local [INFO] [stdout] | `FromInputValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_GuestPath` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (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/types.rs:70:63 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GuestPath` is not local [INFO] [stdout] | `ToInputValue` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_GuestPath` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [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 `GraphQLEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5bcca0b802679c3d94b9da95222c1189bbaa27665410c754306fdbb7bf43a375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bcca0b802679c3d94b9da95222c1189bbaa27665410c754306fdbb7bf43a375", kill_on_drop: false }` [INFO] [stdout] 5bcca0b802679c3d94b9da95222c1189bbaa27665410c754306fdbb7bf43a375 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ea4c648c08ae29752c04d63c5f98d89b952b2bd8732200e75f96cf49780e680 [INFO] running `Command { std: "docker" "start" "-a" "4ea4c648c08ae29752c04d63c5f98d89b952b2bd8732200e75f96cf49780e680", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused import: `time::Duration` [INFO] [stderr] --> src/app_server.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/app_server.rs:69:29 [INFO] [stderr] | [INFO] [stderr] 69 | fn require_param(&self, String) -> Result<&'a str>; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [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 issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:249:42 [INFO] [stderr] | [INFO] [stderr] 249 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:249:58 [INFO] [stderr] | [INFO] [stderr] 249 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:253:42 [INFO] [stderr] | [INFO] [stderr] 253 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:253:58 [INFO] [stderr] | [INFO] [stderr] 253 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:260:64 [INFO] [stderr] | [INFO] [stderr] 260 | ... time_bound: Some(Utc.ymd(2017, 2, 1) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:261:48 [INFO] [stderr] | [INFO] [stderr] 261 | ... .and_hms(10, 0, 0)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:268:64 [INFO] [stderr] | [INFO] [stderr] 268 | ... time_bound: Some(Utc.ymd(2017, 2, 1) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:269:48 [INFO] [stderr] | [INFO] [stderr] 269 | ... .and_hms(11, 0, 0)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:288:34 [INFO] [stderr] | [INFO] [stderr] 288 | world.expire_bounded(Utc.ymd(2017, 2, 1).and_hms(10, 30, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:288:50 [INFO] [stderr] | [INFO] [stderr] 288 | world.expire_bounded(Utc.ymd(2017, 2, 1).and_hms(10, 30, 0)); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:293:42 [INFO] [stderr] | [INFO] [stderr] 293 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:293:58 [INFO] [stderr] | [INFO] [stderr] 293 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:297:42 [INFO] [stderr] | [INFO] [stderr] 297 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:297:58 [INFO] [stderr] | [INFO] [stderr] 297 | time_bound: Some(Utc.ymd(2017, 2, 1).and_hms(11, 0, 0)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:304:64 [INFO] [stderr] | [INFO] [stderr] 304 | ... time_bound: Some(Utc.ymd(2017, 2, 1) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:305:48 [INFO] [stderr] | [INFO] [stderr] 305 | ... .and_hms(11, 0, 0)), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:330:34 [INFO] [stderr] | [INFO] [stderr] 330 | world.expire_bounded(Utc.ymd(2017, 2, 1).and_hms(11, 30, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:330:50 [INFO] [stderr] | [INFO] [stderr] 330 | world.expire_bounded(Utc.ymd(2017, 2, 1).and_hms(11, 30, 0)); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:368:26 [INFO] [stderr] | [INFO] [stderr] 368 | let date_3 = Utc.ymd(2017, 2, 3).and_hms(0, 0, 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:368:42 [INFO] [stderr] | [INFO] [stderr] 368 | let date_3 = Utc.ymd(2017, 2, 3).and_hms(0, 0, 0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:371:26 [INFO] [stderr] | [INFO] [stderr] 371 | let date_2 = Utc.ymd(2017, 2, 2).and_hms(0, 0, 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:371:42 [INFO] [stderr] | [INFO] [stderr] 371 | let date_2 = Utc.ymd(2017, 2, 2).and_hms(0, 0, 0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/schedule.rs:374:26 [INFO] [stderr] | [INFO] [stderr] 374 | let date_1 = Utc.ymd(2017, 2, 1).and_hms(0, 0, 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/schedule.rs:374:42 [INFO] [stderr] | [INFO] [stderr] 374 | let date_1 = Utc.ymd(2017, 2, 1).and_hms(0, 0, 0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/graphql.rs:72:51 [INFO] [stderr] | [INFO] [stderr] 72 | .map(Some).map_err(|e| iron_err(e.description()))? [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `iron::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/graphql.rs:101:88 [INFO] [stderr] | [INFO] [stderr] 101 | let url_query_string = req.get_mut::().map_err(|e| iron_err(e.description()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:64:63 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `DeviceOverride` is not local [INFO] [stderr] | `GraphQLType` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_DeviceOverride` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `GraphQLEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:64:63 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `DeviceOverride` is not local [INFO] [stderr] | `FromInputValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_DeviceOverride` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `GraphQLEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:64:63 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `DeviceOverride` is not local [INFO] [stderr] | `ToInputValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_DeviceOverride` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `GraphQLEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:70:63 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `GuestPath` is not local [INFO] [stderr] | `GraphQLType` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_GuestPath` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `GraphQLEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:70:63 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `GuestPath` is not local [INFO] [stderr] | `FromInputValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_GuestPath` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `GraphQLEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:70:63 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, GraphQLEnum)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `GuestPath` is not local [INFO] [stderr] | `ToInputValue` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_GRAPHQLENUM_FOR_GuestPath` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `GraphQLEnum` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `GraphQLEnum` may come from an old version of the `juniper_codegen` crate, try updating your dependency with `cargo update -p juniper_codegen` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `GraphQLEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `device-blocker` (bin "device-blocker" test) generated 34 warnings (run `cargo fix --bin "device-blocker" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/device_blocker-03c87144459c592c) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test config::test::no_changes ... ok [INFO] [stdout] test config::test::some_changes ... ok [INFO] [stdout] test schedule::test::open_device ... ok [INFO] [stdout] test schedule::test::close_device ... ok [INFO] [stdout] test schedule::test::do_timed_events ... ok [INFO] [stdout] test schedule::test::test_get_soonest_event_time ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ea4c648c08ae29752c04d63c5f98d89b952b2bd8732200e75f96cf49780e680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea4c648c08ae29752c04d63c5f98d89b952b2bd8732200e75f96cf49780e680", kill_on_drop: false }` [INFO] [stdout] 4ea4c648c08ae29752c04d63c5f98d89b952b2bd8732200e75f96cf49780e680