[INFO] cloning repository https://github.com/HAL22/ignore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HAL22/ignore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHAL22%2Fignore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHAL22%2Fignore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba36b184e2ba39282171078a6856d12095901580 [INFO] checking HAL22/ignore against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHAL22%2Fignore" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HAL22/ignore on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HAL22/ignore [INFO] finished tweaking git repo https://github.com/HAL22/ignore [INFO] tweaked toml for git repo https://github.com/HAL22/ignore written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/HAL22/ignore already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7851c22e7a89ce2e2677555e9ae11e6c276f253a909dbe11febecaebc2e8eb45 [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" "7851c22e7a89ce2e2677555e9ae11e6c276f253a909dbe11febecaebc2e8eb45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7851c22e7a89ce2e2677555e9ae11e6c276f253a909dbe11febecaebc2e8eb45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7851c22e7a89ce2e2677555e9ae11e6c276f253a909dbe11febecaebc2e8eb45", kill_on_drop: false }` [INFO] [stdout] 7851c22e7a89ce2e2677555e9ae11e6c276f253a909dbe11febecaebc2e8eb45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 7eef0a5101565c6442acd6566ca2bdbd31d4afebfb0220e0efe2da719b8f4717 [INFO] running `Command { std: "docker" "start" "-a" "7eef0a5101565c6442acd6566ca2bdbd31d4afebfb0220e0efe2da719b8f4717", kill_on_drop: false }` [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking rusqlite v0.24.1 [INFO] [stderr] Checking ignore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NO_PARAMS` [INFO] [stdout] --> src/db_context.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{Connection, Result,Statement,NO_PARAMS}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NO_PARAMS` [INFO] [stdout] --> src/db_context.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{Connection, Result,Statement,NO_PARAMS}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyDbContext` [INFO] [stdout] --> src/db_context.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MyDbContext<'a>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/db_context.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(connection: &'a Connection,tablename:String) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_table` [INFO] [stdout] --> src/db_context.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn make_table(&mut self) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_gitignorefile` [INFO] [stdout] --> src/db_context.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn create_gitignorefile(&mut self,key: &String,value: &String) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_gitignorefile` [INFO] [stdout] --> src/db_context.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn read_gitignorefile(&mut self,key: &String) -> Result>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_gitignorefile` [INFO] [stdout] --> src/db_context.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn update_gitignorefile(& mut self,key: &String,new_value: &String) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_gitignorefile` [INFO] [stdout] --> src/db_context.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn delete_gitignorefile(& mut self,key: &String) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyFileContext` [INFO] [stdout] --> src/file_context.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MyFileContext<'a>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/file_context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(file: &'a File) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_or_amend_gitignore_using_files` [INFO] [stdout] --> src/file_context.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn make_or_amend_gitignore_using_files(& mut self,ignores: &Vec) -> Result<(), Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_or_amend_gitignore_using_userinput` [INFO] [stdout] --> src/file_context.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn make_or_amend_gitignore_using_userinput(& mut self,input: &String) -> Result<(), Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyDbContext` [INFO] [stdout] --> src/db_context.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MyDbContext<'a>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/db_context.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(connection: &'a Connection,tablename:String) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_table` [INFO] [stdout] --> src/db_context.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn make_table(&mut self) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_gitignorefile` [INFO] [stdout] --> src/db_context.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn create_gitignorefile(&mut self,key: &String,value: &String) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_gitignorefile` [INFO] [stdout] --> src/db_context.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn read_gitignorefile(&mut self,key: &String) -> Result>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_gitignorefile` [INFO] [stdout] --> src/db_context.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn update_gitignorefile(& mut self,key: &String,new_value: &String) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_gitignorefile` [INFO] [stdout] --> src/db_context.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn delete_gitignorefile(& mut self,key: &String) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyFileContext` [INFO] [stdout] --> src/file_context.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MyFileContext<'a>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/file_context.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(file: &'a File) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_or_amend_gitignore_using_files` [INFO] [stdout] --> src/file_context.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn make_or_amend_gitignore_using_files(& mut self,ignores: &Vec) -> Result<(), Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_or_amend_gitignore_using_userinput` [INFO] [stdout] --> src/file_context.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn make_or_amend_gitignore_using_userinput(& mut self,input: &String) -> Result<(), Error>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/file_context.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | gitignore_buff_writer.write_all(string_result.as_bytes()); [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/file_context.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | gitignore_buff_writer.write_all(input.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/file_context.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | gitignore_buff_writer.write_all(string_result.as_bytes()); [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/file_context.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | gitignore_buff_writer.write_all(input.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection`, `NO_PARAMS` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{Connection, Result,NO_PARAMS}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection`, `NO_PARAMS` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{Connection, Result,NO_PARAMS}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.19s [INFO] running `Command { std: "docker" "inspect" "7eef0a5101565c6442acd6566ca2bdbd31d4afebfb0220e0efe2da719b8f4717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eef0a5101565c6442acd6566ca2bdbd31d4afebfb0220e0efe2da719b8f4717", kill_on_drop: false }` [INFO] [stdout] 7eef0a5101565c6442acd6566ca2bdbd31d4afebfb0220e0efe2da719b8f4717