[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/b173493cbadf91f35c42c1178f270e21abc05bc4 against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcofdez%2Frshell" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fcofdez/rshell on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b66e970bdbbcdc88ec464e2201db80abdb15bdd74f020c0e4ded81478c8710c [INFO] running `Command { std: "docker" "start" "-a" "6b66e970bdbbcdc88ec464e2201db80abdb15bdd74f020c0e4ded81478c8710c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b66e970bdbbcdc88ec464e2201db80abdb15bdd74f020c0e4ded81478c8710c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b66e970bdbbcdc88ec464e2201db80abdb15bdd74f020c0e4ded81478c8710c", kill_on_drop: false }` [INFO] [stdout] 6b66e970bdbbcdc88ec464e2201db80abdb15bdd74f020c0e4ded81478c8710c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50fc06fb6f55a90c0370459974b5536327e149e7e47bea44f369bc38b2265de7 [INFO] running `Command { std: "docker" "start" "-a" "50fc06fb6f55a90c0370459974b5536327e149e7e47bea44f369bc38b2265de7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 void v1.0.2 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking encode_unicode v0.1.3 [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] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.1 [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] error: 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] 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: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error 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] error: 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] 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: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error 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: enum `Token` is never used [INFO] [stdout] --> src/parser/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:327:30 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn lex_tokens(bytes: &[u8]) -> IResult> { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 327 | pub fn lex_tokens(bytes: &[u8]) -> IResult, Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rshell` (bin "rshell") due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:327:30 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn lex_tokens(bytes: &[u8]) -> IResult> { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 327 | pub fn lex_tokens(bytes: &[u8]) -> IResult, Vec> { [INFO] [stdout] | ++++ [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] [stderr] error: could not compile `rshell` (bin "rshell" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "50fc06fb6f55a90c0370459974b5536327e149e7e47bea44f369bc38b2265de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50fc06fb6f55a90c0370459974b5536327e149e7e47bea44f369bc38b2265de7", kill_on_drop: false }` [INFO] [stdout] 50fc06fb6f55a90c0370459974b5536327e149e7e47bea44f369bc38b2265de7