[INFO] fetching crate tshell 0.2.2... [INFO] checking tshell-0.2.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate tshell 0.2.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tshell 0.2.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tshell 0.2.2 [INFO] finished tweaking crates.io crate tshell 0.2.2 [INFO] tweaked toml for crates.io crate tshell 0.2.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded nix v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a893ba2d409da811b66b86dcf4451cb8d70939367fc1afe498faf1c8101f479 [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" "7a893ba2d409da811b66b86dcf4451cb8d70939367fc1afe498faf1c8101f479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a893ba2d409da811b66b86dcf4451cb8d70939367fc1afe498faf1c8101f479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a893ba2d409da811b66b86dcf4451cb8d70939367fc1afe498faf1c8101f479", kill_on_drop: false }` [INFO] [stdout] 7a893ba2d409da811b66b86dcf4451cb8d70939367fc1afe498faf1c8101f479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69a2e7a20fa06f320aa7224445d6f37752e594d1ee110ab3ebbac25abc6d1242 [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" "69a2e7a20fa06f320aa7224445d6f37752e594d1ee110ab3ebbac25abc6d1242", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking tshell v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub type CallBack = Fn(HashMap, &mut Option, &HashMap) -> CommandResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HashMap, &mut Option, &HashMap) -> CommandResult>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/commands.rs:312:42 [INFO] [stdout] | [INFO] [stdout] 312 | context: Arc::new(Mutex::new((context))) [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/commands.rs:394:24 [INFO] [stdout] | [INFO] [stdout] 394 | let home_dir = env::home_dir() [INFO] [stdout] | ^^^^^^^^^^^^^ [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_left`: superseded by `trim_start` [INFO] [stdout] --> src/commands.rs:321:42 [INFO] [stdout] | [INFO] [stdout] 321 | let mut levels: Vec<&str> = line.trim_left().split_whitespace().collect(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub type CallBack = Fn(HashMap, &mut Option, &HashMap) -> CommandResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HashMap, &mut Option, &HashMap) -> CommandResult>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/commands.rs:312:42 [INFO] [stdout] | [INFO] [stdout] 312 | context: Arc::new(Mutex::new((context))) [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/commands.rs:394:24 [INFO] [stdout] | [INFO] [stdout] 394 | let home_dir = env::home_dir() [INFO] [stdout] | ^^^^^^^^^^^^^ [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_left`: superseded by `trim_start` [INFO] [stdout] --> src/commands.rs:321:42 [INFO] [stdout] | [INFO] [stdout] 321 | let mut levels: Vec<&str> = line.trim_left().split_whitespace().collect(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> examples/example.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | fn world(args: HashMap, o_context: &mut Option, history: &HashMap) -> CommandResult> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_context` [INFO] [stdout] --> examples/example.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | fn world(args: HashMap, o_context: &mut Option, history: &HashMap) -> CommandResult> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_context` [INFO] [stdout] --> examples/example.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | fn darkness(args: HashMap, o_context: &mut Option, history: &HashMap) -> CommandResult examples/example.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 20 | ...text: &mut Option, history: &HashMap) -> CommandResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_context` [INFO] [stdout] --> examples/example.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn new_context(args: HashMap, o_context: &mut Option, history: &HashMap) -> CommandResult examples/example.rs:30:78 [INFO] [stdout] | [INFO] [stdout] 30 | ...text: &mut Option, history: &HashMap) -> CommandResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/example.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut context = Context::default(); [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: variable does not need to be mutable [INFO] [stdout] --> examples/example.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut o_context = Some(context); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.81s [INFO] running `Command { std: "docker" "inspect" "69a2e7a20fa06f320aa7224445d6f37752e594d1ee110ab3ebbac25abc6d1242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a2e7a20fa06f320aa7224445d6f37752e594d1ee110ab3ebbac25abc6d1242", kill_on_drop: false }` [INFO] [stdout] 69a2e7a20fa06f320aa7224445d6f37752e594d1ee110ab3ebbac25abc6d1242