[INFO] cloning repository https://github.com/In-line/ksm-regulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/In-line/ksm-regulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIn-line%2Fksm-regulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIn-line%2Fksm-regulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 832aa0b7c4ca988481070fc21430df2ff6c24183 [INFO] checking In-line/ksm-regulator against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIn-line%2Fksm-regulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/In-line/ksm-regulator [INFO] finished tweaking git repo https://github.com/In-line/ksm-regulator [INFO] tweaked toml for git repo https://github.com/In-line/ksm-regulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/In-line/ksm-regulator on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/In-line/ksm-regulator 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 886543a7933aa618f54a8b324eb5ce4eb0e16e3db9f7c8bc589cbf24bbcd99b7 [INFO] running `Command { std: "docker" "start" "-a" "886543a7933aa618f54a8b324eb5ce4eb0e16e3db9f7c8bc589cbf24bbcd99b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "886543a7933aa618f54a8b324eb5ce4eb0e16e3db9f7c8bc589cbf24bbcd99b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "886543a7933aa618f54a8b324eb5ce4eb0e16e3db9f7c8bc589cbf24bbcd99b7", kill_on_drop: false }` [INFO] [stdout] 886543a7933aa618f54a8b324eb5ce4eb0e16e3db9f7c8bc589cbf24bbcd99b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a86fde2c7fad2b22e422c29812b2725b962d8fe0d8de6492cbb4814b4df78d9 [INFO] running `Command { std: "docker" "start" "-a" "0a86fde2c7fad2b22e422c29812b2725b962d8fe0d8de6492cbb4814b4df78d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling sys-info v0.7.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Compiling anyhow v1.0.36 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking ordslice v0.3.0 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_codegen_internals v0.11.3 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Compiling serde_codegen v0.8.23 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling serde_derive v0.8.23 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking async-process v1.0.1 [INFO] [stderr] Checking stderrlog v0.5.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Checking async-ctrlc v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Checking async-std v1.8.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking ksm-regulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `ksm-regulator` (bin "ksm-regulator") due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ConfigEntry` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ConfigEntry` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ConfigEntry` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ConfigEntry` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ksm-regulator` (bin "ksm-regulator" test) due to 3 previous errors; 1 warning emitted [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | / /// Path of config file [INFO] [stdout] 189 | | #[structopt( [INFO] [stdout] 190 | | short = "c", [INFO] [stdout] 191 | | long = "config", [INFO] [stdout] 192 | | default_value = "/etc/ksm-regulator.hjson" [INFO] [stdout] 193 | | )] [INFO] [stdout] 194 | | config_file: PathBuf, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Path of `run` file, which is used to toggle KSM [INFO] [stdout] 197 | | #[structopt( [INFO] [stdout] 198 | | short = "r", [INFO] [stdout] 199 | | long = "run-file", [INFO] [stdout] 200 | | default_value = "/sys/kernel/mm/ksm/run" [INFO] [stdout] 201 | | )] [INFO] [stdout] 202 | | ksm_run_file: PathBuf, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Path of `sleep_millisecs` file [INFO] [stdout] 205 | | #[structopt( [INFO] [stdout] 206 | | short = "s", [INFO] [stdout] 207 | | long = "sleep-millisecs-file", [INFO] [stdout] 208 | | default_value = "/sys/kernel/mm/ksm/sleep_millisecs" [INFO] [stdout] 209 | | )] [INFO] [stdout] 210 | | ksm_sleep_millisecs_file: PathBuf, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | / /// Path of config file [INFO] [stdout] 189 | | #[structopt( [INFO] [stdout] 190 | | short = "c", [INFO] [stdout] 191 | | long = "config", [INFO] [stdout] 192 | | default_value = "/etc/ksm-regulator.hjson" [INFO] [stdout] 193 | | )] [INFO] [stdout] 194 | | config_file: PathBuf, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Path of `run` file, which is used to toggle KSM [INFO] [stdout] 197 | | #[structopt( [INFO] [stdout] 198 | | short = "r", [INFO] [stdout] 199 | | long = "run-file", [INFO] [stdout] 200 | | default_value = "/sys/kernel/mm/ksm/run" [INFO] [stdout] 201 | | )] [INFO] [stdout] 202 | | ksm_run_file: PathBuf, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Path of `sleep_millisecs` file [INFO] [stdout] 205 | | #[structopt( [INFO] [stdout] 206 | | short = "s", [INFO] [stdout] 207 | | long = "sleep-millisecs-file", [INFO] [stdout] 208 | | default_value = "/sys/kernel/mm/ksm/sleep_millisecs" [INFO] [stdout] 209 | | )] [INFO] [stdout] 210 | | ksm_sleep_millisecs_file: PathBuf, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a86fde2c7fad2b22e422c29812b2725b962d8fe0d8de6492cbb4814b4df78d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a86fde2c7fad2b22e422c29812b2725b962d8fe0d8de6492cbb4814b4df78d9", kill_on_drop: false }` [INFO] [stdout] 0a86fde2c7fad2b22e422c29812b2725b962d8fe0d8de6492cbb4814b4df78d9