[INFO] cloning repository https://github.com/Simhyeon/r4d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Simhyeon/r4d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Fr4d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Fr4d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bad19e8d9d36373c4e595d57b9b1602011c7953c [INFO] checking Simhyeon/r4d against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Fr4d" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simhyeon/r4d on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Simhyeon/r4d [INFO] finished tweaking git repo https://github.com/Simhyeon/r4d [INFO] tweaked toml for git repo https://github.com/Simhyeon/r4d written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Simhyeon/r4d already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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] d1e5f8687a661aedb12da22e17fa03d3830fcad9da32150a2347494123aebf41 [INFO] running `Command { std: "docker" "start" "-a" "d1e5f8687a661aedb12da22e17fa03d3830fcad9da32150a2347494123aebf41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1e5f8687a661aedb12da22e17fa03d3830fcad9da32150a2347494123aebf41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e5f8687a661aedb12da22e17fa03d3830fcad9da32150a2347494123aebf41", kill_on_drop: false }` [INFO] [stdout] d1e5f8687a661aedb12da22e17fa03d3830fcad9da32150a2347494123aebf41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 9da54731e9e82ce4c4005f210ab3e23327a1c267cd6fad0b5f77800b35464fc9 [INFO] running `Command { std: "docker" "start" "-a" "9da54731e9e82ce4c4005f210ab3e23327a1c267cd6fad0b5f77800b35464fc9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking evalexpr v6.4.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking lipsum v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking r4d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cli::Cli` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cli::Cli; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cli::Cli` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cli::Cli; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/basic.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let file_path = args[0]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `files` [INFO] [stdout] --> src/cli.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(files) = args.values_of("FILE") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/basic.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let file_path = args[0]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `files` [INFO] [stdout] --> src/cli.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(files) = args.values_of("FILE") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `include` [INFO] [stdout] --> src/basic.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn include(args: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cli` [INFO] [stdout] --> src/cli.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Cli{} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/cli.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse() -> Result<(), RadError>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_options` [INFO] [stdout] --> src/cli.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse_options(args: &clap::ArgMatches) -> Result<(), RadError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_subcommands` [INFO] [stdout] --> src/cli.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse_subcommands(args: &clap::ArgMatches) -> Result<(), RadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `args_builder` [INFO] [stdout] --> src/cli.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn args_builder() -> clap::ArgMatches { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subcommand_direct` [INFO] [stdout] --> src/cli.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn subcommand_direct(matches: &clap::ArgMatches) -> Result<(), RadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Reader` [INFO] [stdout] --> src/fileio.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Reader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_stream` [INFO] [stdout] --> src/fileio.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_stream() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_previous` [INFO] [stdout] --> src/processor.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn get_previous(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `args_to_vec` [INFO] [stdout] --> src/utils.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) fn args_to_vec<'a>(args : &'a str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(name: &str, args: &str, body: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register` [INFO] [stdout] --> src/models.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn register( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Processor::new().from_stdin(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `include` [INFO] [stdout] --> src/basic.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn include(args: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cli` [INFO] [stdout] --> src/cli.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Cli{} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/cli.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn parse() -> Result<(), RadError>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_options` [INFO] [stdout] --> src/cli.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse_options(args: &clap::ArgMatches) -> Result<(), RadError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_subcommands` [INFO] [stdout] --> src/cli.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse_subcommands(args: &clap::ArgMatches) -> Result<(), RadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `args_builder` [INFO] [stdout] --> src/cli.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn args_builder() -> clap::ArgMatches { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subcommand_direct` [INFO] [stdout] --> src/cli.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn subcommand_direct(matches: &clap::ArgMatches) -> Result<(), RadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Reader` [INFO] [stdout] --> src/fileio.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Reader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_stream` [INFO] [stdout] --> src/fileio.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_stream() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_previous` [INFO] [stdout] --> src/processor.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn get_previous(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `args_to_vec` [INFO] [stdout] --> src/utils.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) fn args_to_vec<'a>(args : &'a str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(name: &str, args: &str, body: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register` [INFO] [stdout] --> src/models.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn register( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Processor::new().from_stdin(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.41s [INFO] running `Command { std: "docker" "inspect" "9da54731e9e82ce4c4005f210ab3e23327a1c267cd6fad0b5f77800b35464fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da54731e9e82ce4c4005f210ab3e23327a1c267cd6fad0b5f77800b35464fc9", kill_on_drop: false }` [INFO] [stdout] 9da54731e9e82ce4c4005f210ab3e23327a1c267cd6fad0b5f77800b35464fc9