[INFO] fetching crate playbook 0.4.2... [INFO] checking playbook-0.4.2 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate playbook 0.4.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate playbook 0.4.2 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate playbook 0.4.2 [INFO] finished tweaking crates.io crate playbook 0.4.2 [INFO] tweaked toml for crates.io crate playbook 0.4.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8034f4c36076be58614ad7e561ce2c87e0306691810755fcb7ff37ac02e40d5c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8034f4c36076be58614ad7e561ce2c87e0306691810755fcb7ff37ac02e40d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8034f4c36076be58614ad7e561ce2c87e0306691810755fcb7ff37ac02e40d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8034f4c36076be58614ad7e561ce2c87e0306691810755fcb7ff37ac02e40d5c", kill_on_drop: false }` [INFO] [stdout] 8034f4c36076be58614ad7e561ce2c87e0306691810755fcb7ff37ac02e40d5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a77115e2802074dc7f2119af27e40d04691de723456621116f04765ac147ca24 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a77115e2802074dc7f2119af27e40d04691de723456621116f04765ac147ca24", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling nix v0.12.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling impersonate v0.0.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking fern v0.5.9 [INFO] [stderr] Checking rpds v0.5.0 [INFO] [stderr] Checking ymlctx v0.1.8 [INFO] [stderr] Checking playbook v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lang/python.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result` [INFO] [stdout] --> src/lang/python.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `CtxObj` [INFO] [stdout] --> src/lang/python.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use ymlctx::context::{Context, CtxObj}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskErrorSource`, `TaskError` [INFO] [stdout] --> src/lang/python.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{TaskError, TaskErrorSource}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lang/python.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; // for flushing stdio [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/systems/mod.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn start(&self, Context, I) -> Result [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/systems/mod.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | fn start(&self, Context, I) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: I` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lang/python.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result` [INFO] [stdout] --> src/lang/python.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `CtxObj` [INFO] [stdout] --> src/lang/python.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use ymlctx::context::{Context, CtxObj}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskErrorSource`, `TaskError` [INFO] [stdout] --> src/lang/python.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{TaskError, TaskErrorSource}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lang/python.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; // for flushing stdio [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/systems/mod.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn start(&self, Context, I) -> Result [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/systems/mod.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | fn start(&self, Context, I) -> Result [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: I` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/builtins.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 276 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 277 | let nproc = pool.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/builtins.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 276 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 277 | let nproc = pool.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/systems/docker.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | let newline_len = id_stdout.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/systems/docker.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | let newline_len = id_stdout.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nproc` [INFO] [stdout] --> src/builtins.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let nproc = pool.len(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nproc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/builtins.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | fn fork_pool(grid: Vec, pool: &Vec) -> TransientContext { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/builtins.rs:275:34 [INFO] [stdout] | [INFO] [stdout] 275 | fn fork_pool(grid: Vec, pool: &Vec) -> TransientContext { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nproc` [INFO] [stdout] --> src/builtins.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let nproc = pool.len(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nproc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/builtins.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | fn fork_pool(grid: Vec, pool: &Vec) -> TransientContext { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/builtins.rs:275:34 [INFO] [stdout] | [INFO] [stdout] 275 | fn fork_pool(grid: Vec, pool: &Vec) -> TransientContext { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/ci.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut metadata = std::fs::metadata(tmpdir.path().to_str().unwrap()) [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.19s [INFO] running `Command { std: "docker" "inspect" "a77115e2802074dc7f2119af27e40d04691de723456621116f04765ac147ca24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77115e2802074dc7f2119af27e40d04691de723456621116f04765ac147ca24", kill_on_drop: false }` [INFO] [stdout] a77115e2802074dc7f2119af27e40d04691de723456621116f04765ac147ca24