[INFO] cloning repository https://github.com/prateekkumarweb/sat-verifier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prateekkumarweb/sat-verifier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprateekkumarweb%2Fsat-verifier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprateekkumarweb%2Fsat-verifier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 896b43dfa0a5c742d735cf34194469f8bed922c9 [INFO] checking prateekkumarweb/sat-verifier against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprateekkumarweb%2Fsat-verifier" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prateekkumarweb/sat-verifier on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prateekkumarweb/sat-verifier [INFO] finished tweaking git repo https://github.com/prateekkumarweb/sat-verifier [INFO] tweaked toml for git repo https://github.com/prateekkumarweb/sat-verifier written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/prateekkumarweb/sat-verifier 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4dd1522bbb089414f1f2a25a69895be6bc6b7770768e0ceb7ceef0abb57a87e [INFO] running `Command { std: "docker" "start" "-a" "f4dd1522bbb089414f1f2a25a69895be6bc6b7770768e0ceb7ceef0abb57a87e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4dd1522bbb089414f1f2a25a69895be6bc6b7770768e0ceb7ceef0abb57a87e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4dd1522bbb089414f1f2a25a69895be6bc6b7770768e0ceb7ceef0abb57a87e", kill_on_drop: false }` [INFO] [stdout] f4dd1522bbb089414f1f2a25a69895be6bc6b7770768e0ceb7ceef0abb57a87e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9db02cea11a036b872c79b2df84f58a0888512ec1a695732dbccf591628f6cc9 [INFO] running `Command { std: "docker" "start" "-a" "9db02cea11a036b872c79b2df84f58a0888512ec1a695732dbccf591628f6cc9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling sat-verifier v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'propagate': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:275:37: warning: unused parameter 'init' [-Wunused-parameter] [INFO] [stderr] warning: sat-verifier@0.1.0: 275 | int propagate(struct solver *S, int init, int mark) [INFO] [stderr] warning: sat-verifier@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'printCore': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:398:12: warning: unused variable 'j' [-Wunused-variable] [INFO] [stderr] warning: sat-verifier@0.1.0: 398 | int i, j; [INFO] [stderr] warning: sat-verifier@0.1.0: | ^ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'printProof': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:503:18: warning: unused variable 'lemmas' [-Wunused-variable] [INFO] [stderr] warning: sat-verifier@0.1.0: 503 | int *lemmas = S->DB + (ad >> INFOBITS); [INFO] [stderr] warning: sat-verifier@0.1.0: | ^~~~~~ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:572:13: warning: unused variable 'flag' [-Wunused-variable] [INFO] [stderr] warning: sat-verifier@0.1.0: 572 | int flag = 0; [INFO] [stderr] warning: sat-verifier@0.1.0: | ^~~~ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'printDependenciesFile': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:743:63: warning: unused parameter 'RATflag' [-Wunused-parameter] [INFO] [stderr] warning: sat-verifier@0.1.0: 743 | void printDependenciesFile(struct solver *S, int *clause, int RATflag, int mode) [INFO] [stderr] warning: sat-verifier@0.1.0: | ~~~~^~~~~~~ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'checkRAT': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:902:17: warning: unused variable 'id' [-Wunused-variable] [INFO] [stderr] warning: sat-verifier@0.1.0: 902 | int id = watched[ID] >> 1; [INFO] [stderr] warning: sat-verifier@0.1.0: | ^~ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'setUCP': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:1003:13: warning: unused variable 'i' [-Wunused-variable] [INFO] [stderr] warning: sat-verifier@0.1.0: 1003 | int i; [INFO] [stderr] warning: sat-verifier@0.1.0: | ^ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'verify': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:1409:9: warning: unused variable 'top_flag' [-Wunused-variable] [INFO] [stderr] warning: sat-verifier@0.1.0: 1409 | int top_flag = 1; [INFO] [stderr] warning: sat-verifier@0.1.0: | ^~~~~~~~ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'getHash': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:1780:24: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: sat-verifier@0.1.0: 1780 | return (1023 * sum + prod ^ (31 * xor)) % BIGINIT; [INFO] [stderr] warning: sat-verifier@0.1.0: | ~~~~~~~~~~~^~~~~~ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'parse': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:2037:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: sat-verifier@0.1.0: 2037 | for (i = 0; i < sizeof ignore; i++) [INFO] [stderr] warning: sat-verifier@0.1.0: | ^ [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c: In function 'propagate': [INFO] [stderr] warning: sat-verifier@0.1.0: src/drat-trim.c:291:16: warning: '_watch' may be used uninitialized in this function [-Wmaybe-uninitialized] [INFO] [stderr] warning: sat-verifier@0.1.0: 291 | while (*watch != END) [INFO] [stderr] warning: sat-verifier@0.1.0: | ^~~~~~ [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:93:58 [INFO] [stdout] | [INFO] [stdout] 93 | CString::new("./drat-trim").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:94:63 [INFO] [stdout] | [INFO] [stdout] 94 | CString::new(args[1].as_bytes()).unwrap().as_ptr(), [INFO] [stdout] | ----------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | CString::new(args[3].as_bytes()).unwrap().as_ptr(), [INFO] [stdout] | ----------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:93:58 [INFO] [stdout] | [INFO] [stdout] 93 | CString::new("./drat-trim").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:94:63 [INFO] [stdout] | [INFO] [stdout] 94 | CString::new(args[1].as_bytes()).unwrap().as_ptr(), [INFO] [stdout] | ----------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:95:63 [INFO] [stdout] | [INFO] [stdout] 95 | CString::new(args[3].as_bytes()).unwrap().as_ptr(), [INFO] [stdout] | ----------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "9db02cea11a036b872c79b2df84f58a0888512ec1a695732dbccf591628f6cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db02cea11a036b872c79b2df84f58a0888512ec1a695732dbccf591628f6cc9", kill_on_drop: false }` [INFO] [stdout] 9db02cea11a036b872c79b2df84f58a0888512ec1a695732dbccf591628f6cc9