[INFO] fetching crate tshell 0.2.2... [INFO] checking tshell-0.2.2 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate tshell 0.2.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate tshell 0.2.2 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--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 nix v0.5.1 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7960040cd61f8293271362b72ccbb35135aceab20dad126b864ac17668998f0 [INFO] running `Command { std: "docker" "start" "-a" "f7960040cd61f8293271362b72ccbb35135aceab20dad126b864ac17668998f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7960040cd61f8293271362b72ccbb35135aceab20dad126b864ac17668998f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7960040cd61f8293271362b72ccbb35135aceab20dad126b864ac17668998f0", kill_on_drop: false }` [INFO] [stdout] f7960040cd61f8293271362b72ccbb35135aceab20dad126b864ac17668998f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9a752f655ae66c6cb2a3ebe6c083a41ddd6e506c2111c1623c38eb0274b4187 [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" "a9a752f655ae66c6cb2a3ebe6c083a41ddd6e506c2111c1623c38eb0274b4187", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking libc v0.2.97 [INFO] [stderr] Checking log v0.4.14 [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 nix v0.5.1 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] error: Trailing semicolon in macro [INFO] [stdout] --> examples/example.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | / shell_command_node!{ [INFO] [stdout] 54 | | cmd: world, [INFO] [stdout] 55 | | txt_help: "World", [INFO] [stdout] 56 | | callback: world [INFO] [stdout] 57 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `shell_command_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> examples/example.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | / shell_command_node!{ [INFO] [stdout] 73 | | cmd: world, [INFO] [stdout] 74 | | txt_help: "World", [INFO] [stdout] 75 | | callback: world [INFO] [stdout] 76 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `shell_command_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> examples/example.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mut root = shell_command_tree!{my_cli, [INFO] [stdout] | ____________________^ [INFO] [stdout] 45 | | "MyCLI", [INFO] [stdout] 46 | | "0.1.0", [INFO] [stdout] 47 | | o_context.unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 84 | | }] [INFO] [stdout] 85 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `shell_command_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> examples/example.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mut root = shell_command_tree!{my_cli, [INFO] [stdout] | ____________________^ [INFO] [stdout] 45 | | "MyCLI", [INFO] [stdout] 46 | | "0.1.0", [INFO] [stdout] 47 | | o_context.unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 84 | | }] [INFO] [stdout] 85 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `shell_command_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tshell` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a9a752f655ae66c6cb2a3ebe6c083a41ddd6e506c2111c1623c38eb0274b4187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a752f655ae66c6cb2a3ebe6c083a41ddd6e506c2111c1623c38eb0274b4187", kill_on_drop: false }` [INFO] [stdout] a9a752f655ae66c6cb2a3ebe6c083a41ddd6e506c2111c1623c38eb0274b4187