[INFO] cloning repository https://github.com/awsomearvinder/doas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awsomearvinder/doas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawsomearvinder%2Fdoas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawsomearvinder%2Fdoas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85605afc8d167168ef37633f849235db7994432e [INFO] checking awsomearvinder/doas against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawsomearvinder%2Fdoas" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/awsomearvinder/doas [INFO] finished tweaking git repo https://github.com/awsomearvinder/doas [INFO] tweaked toml for git repo https://github.com/awsomearvinder/doas written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/awsomearvinder/doas on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/awsomearvinder/doas 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd30a298b94bca1e014ac774e845dd9571c4c192c080e3e863e6a5a7391d6fac [INFO] running `Command { std: "docker" "start" "-a" "fd30a298b94bca1e014ac774e845dd9571c4c192c080e3e863e6a5a7391d6fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd30a298b94bca1e014ac774e845dd9571c4c192c080e3e863e6a5a7391d6fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd30a298b94bca1e014ac774e845dd9571c4c192c080e3e863e6a5a7391d6fac", kill_on_drop: false }` [INFO] [stdout] fd30a298b94bca1e014ac774e845dd9571c4c192c080e3e863e6a5a7391d6fac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd4a211dd171323f075ad4e28a1281500875ae472e8a730e06922217ac085d06 [INFO] running `Command { std: "docker" "start" "-a" "fd4a211dd171323f075ad4e28a1281500875ae472e8a730e06922217ac085d06", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rpassword v4.0.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking blowfish v0.5.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking pwhash v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking doas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / ///Use config file at this path, then exit. [INFO] [stdout] 19 | | ///If command is supplied, doas will also perform command matching. [INFO] [stdout] 20 | | ///In the latter case either 'permit', 'permit nopass', or 'deny' will be printed on standard [INFO] [stdout] 21 | | ///output, depending on the command matching results. No command is executed. [INFO] [stdout] 22 | | #[structopt(short = "C", long = "config-file")] [INFO] [stdout] 23 | | config_file: Option, [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / ///Execute the command as supplied user. The default is root. [INFO] [stdout] 39 | | #[structopt(short = "u", long = "user", default_value = "root")] [INFO] [stdout] 40 | | user: String, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / ///The command to run under doas. [INFO] [stdout] 43 | | #[structopt( [INFO] [stdout] 44 | | min_values = 1, [INFO] [stdout] 45 | | required_unless_one = &["shell","clear-persisted-auth", "config-file"], [INFO] [stdout] 46 | | )] [INFO] [stdout] 47 | | command: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_tokens(data: &str) -> Result, LexerError<&str>> { [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 18 | pub fn get_tokens(data: &str) -> Result>, LexerError<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_next_token(data: &str) -> nom::IResult<&str, Token, LexerError<&str>> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn get_next_token(data: &str) -> nom::IResult<&str, Token<'_>, LexerError<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_set_env(data: &str) -> nom::IResult<&str, Token, LexerError<&str>> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_set_env(data: &str) -> nom::IResult<&str, Token<'_>, LexerError<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doas` (bin "doas") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / ///Use config file at this path, then exit. [INFO] [stdout] 19 | | ///If command is supplied, doas will also perform command matching. [INFO] [stdout] 20 | | ///In the latter case either 'permit', 'permit nopass', or 'deny' will be printed on standard [INFO] [stdout] 21 | | ///output, depending on the command matching results. No command is executed. [INFO] [stdout] 22 | | #[structopt(short = "C", long = "config-file")] [INFO] [stdout] 23 | | config_file: Option, [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / ///Execute the command as supplied user. The default is root. [INFO] [stdout] 39 | | #[structopt(short = "u", long = "user", default_value = "root")] [INFO] [stdout] 40 | | user: String, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / ///The command to run under doas. [INFO] [stdout] 43 | | #[structopt( [INFO] [stdout] 44 | | min_values = 1, [INFO] [stdout] 45 | | required_unless_one = &["shell","clear-persisted-auth", "config-file"], [INFO] [stdout] 46 | | )] [INFO] [stdout] 47 | | command: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_tokens(data: &str) -> Result, LexerError<&str>> { [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 18 | pub fn get_tokens(data: &str) -> Result>, LexerError<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_next_token(data: &str) -> nom::IResult<&str, Token, LexerError<&str>> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn get_next_token(data: &str) -> nom::IResult<&str, Token<'_>, LexerError<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lexer.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_set_env(data: &str) -> nom::IResult<&str, Token, LexerError<&str>> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_set_env(data: &str) -> nom::IResult<&str, Token<'_>, LexerError<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doas` (bin "doas" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fd4a211dd171323f075ad4e28a1281500875ae472e8a730e06922217ac085d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4a211dd171323f075ad4e28a1281500875ae472e8a730e06922217ac085d06", kill_on_drop: false }` [INFO] [stdout] fd4a211dd171323f075ad4e28a1281500875ae472e8a730e06922217ac085d06