[INFO] cloning repository https://github.com/fcofdez/rshell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fcofdez/rshell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcofdez%2Frshell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcofdez%2Frshell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b173493cbadf91f35c42c1178f270e21abc05bc4 [INFO] checking fcofdez/rshell against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcofdez%2Frshell" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fcofdez/rshell on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fcofdez/rshell [INFO] finished tweaking git repo https://github.com/fcofdez/rshell [INFO] tweaked toml for git repo https://github.com/fcofdez/rshell written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fcofdez/rshell 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.5.1 [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded bitflags v1.0.1 [INFO] [stderr] Downloaded backtrace v0.3.5 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded rustc-demangle v0.1.7 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded cc v1.0.9 [INFO] [stderr] Downloaded memchr v2.0.1 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded nom v4.0.0 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e3db51dc1c360973cee925f6136c126f5ecb144ee9617daf1b6075db4f2993f [INFO] running `Command { std: "docker" "start" "-a" "1e3db51dc1c360973cee925f6136c126f5ecb144ee9617daf1b6075db4f2993f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e3db51dc1c360973cee925f6136c126f5ecb144ee9617daf1b6075db4f2993f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3db51dc1c360973cee925f6136c126f5ecb144ee9617daf1b6075db4f2993f", kill_on_drop: false }` [INFO] [stdout] 1e3db51dc1c360973cee925f6136c126f5ecb144ee9617daf1b6075db4f2993f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aecea711913569b4f048444a59576ef102ecb65102ae13e9d39041abcfe6c34b [INFO] running `Command { std: "docker" "start" "-a" "aecea711913569b4f048444a59576ef102ecb65102ae13e9d39041abcfe6c34b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.7 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking rshell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env::current_dir` [INFO] [stdout] --> src/parser/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env::current_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/parser/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/parser/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/mod.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | check!($input, call!($f)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 96 | / named!(word, [INFO] [stdout] 97 | | do_parse!( [INFO] [stdout] 98 | | letter: map_res!( [INFO] [stdout] 99 | | flat_map!(take!(1), check!(is_alphabetic)), [INFO] [stdout] ... | [INFO] [stdout] 106 | | ) [INFO] [stdout] 107 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `check` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `check` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/mod.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | check!($input, call!($f)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 96 | / named!(word, [INFO] [stdout] 97 | | do_parse!( [INFO] [stdout] 98 | | letter: map_res!( [INFO] [stdout] 99 | | flat_map!(take!(1), check!(is_alphabetic)), [INFO] [stdout] ... | [INFO] [stdout] 106 | | ) [INFO] [stdout] 107 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `check` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `check` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 15 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | DoubleLessThan, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | DoubleGreaterThan, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | LessThanAmp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | GreaterThanAmp, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | LessLessMinus, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | LessGreater, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | GreaterPipe, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | Pipe, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | DoublePipe, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | LParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | RParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | LBrace, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | RBrace, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | SemiColon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | DoubleSemiColon, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | LBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | RBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | Ampersand, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | DoubleAmpersand, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | ExclamationMark, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | Then, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | ElIf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | EndIf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | Do, [INFO] [stdout] | ^^ [INFO] [stdout] 45 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | Case, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Esac, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | Until, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | Word(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | Number(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | StringLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | Variable(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | Illegal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 58 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_alpha_or_underscore` is never used [INFO] [stdout] --> src/parser/mod.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn is_alpha_or_underscore(c: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete_byte_slice_str_from_utf8` is never used [INFO] [stdout] --> src/parser/mod.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn complete_byte_slice_str_from_utf8(c: CompleteByteSlice) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_variable` is never used [INFO] [stdout] --> src/parser/mod.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn to_variable(token: Token) -> Token { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_str` is never used [INFO] [stdout] --> src/parser/mod.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn parse_str(str_slice: CompleteByteSlice) -> Token { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_reserved` is never used [INFO] [stdout] --> src/parser/mod.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_reserved(letter: CompleteStr, rest: Option) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/parser/mod.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Lexer; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lex_tokens` is never used [INFO] [stdout] --> src/parser/mod.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl Lexer { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 327 | pub fn lex_tokens(bytes: &[u8]) -> IResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser/mod.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | f.read_to_end(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = f.read_to_end(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, nom v4.0.0, rshell v0.1.0 (/opt/rustwide/workdir) [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" "aecea711913569b4f048444a59576ef102ecb65102ae13e9d39041abcfe6c34b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aecea711913569b4f048444a59576ef102ecb65102ae13e9d39041abcfe6c34b", kill_on_drop: false }` [INFO] [stdout] aecea711913569b4f048444a59576ef102ecb65102ae13e9d39041abcfe6c34b