[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprateekkumarweb%2Fsat-verifier" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prateekkumarweb/sat-verifier on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e610ebd7c4f396788fcc92dee76d30182314ca8a0ac1c82d47900a64a8689d6 [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" "1e610ebd7c4f396788fcc92dee76d30182314ca8a0ac1c82d47900a64a8689d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e610ebd7c4f396788fcc92dee76d30182314ca8a0ac1c82d47900a64a8689d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e610ebd7c4f396788fcc92dee76d30182314ca8a0ac1c82d47900a64a8689d6", kill_on_drop: false }` [INFO] [stdout] 1e610ebd7c4f396788fcc92dee76d30182314ca8a0ac1c82d47900a64a8689d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54a1e109bd7cb5b81e290a2d3f2fe239f41b9764ff4ccaaf5efe3a5871c1de74 [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" "54a1e109bd7cb5b81e290a2d3f2fe239f41b9764ff4ccaaf5efe3a5871c1de74", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking lazy_static v1.4.0 [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] warning: src/drat-trim.c: In function 'propagate': [INFO] [stderr] warning: src/drat-trim.c:275:37: warning: unused parameter 'init' [-Wunused-parameter] [INFO] [stderr] warning: 275 | int propagate(struct solver *S, int init, int mark) [INFO] [stderr] warning: | ~~~~^~~~ [INFO] [stderr] warning: src/drat-trim.c: In function 'printCore': [INFO] [stderr] warning: src/drat-trim.c:398:12: warning: unused variable 'j' [-Wunused-variable] [INFO] [stderr] warning: 398 | int i, j; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/drat-trim.c: In function 'printProof': [INFO] [stderr] warning: src/drat-trim.c:503:18: warning: unused variable 'lemmas' [-Wunused-variable] [INFO] [stderr] warning: 503 | int *lemmas = S->DB + (ad >> INFOBITS); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: src/drat-trim.c:572:13: warning: unused variable 'flag' [-Wunused-variable] [INFO] [stderr] warning: 572 | int flag = 0; [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: src/drat-trim.c: In function 'printDependenciesFile': [INFO] [stderr] warning: src/drat-trim.c:743:63: warning: unused parameter 'RATflag' [-Wunused-parameter] [INFO] [stderr] warning: 743 | void printDependenciesFile(struct solver *S, int *clause, int RATflag, int mode) [INFO] [stderr] warning: | ~~~~^~~~~~~ [INFO] [stderr] warning: src/drat-trim.c: In function 'checkRAT': [INFO] [stderr] warning: src/drat-trim.c:902:17: warning: unused variable 'id' [-Wunused-variable] [INFO] [stderr] warning: 902 | int id = watched[ID] >> 1; [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/drat-trim.c: In function 'setUCP': [INFO] [stderr] warning: src/drat-trim.c:1003:13: warning: unused variable 'i' [-Wunused-variable] [INFO] [stderr] warning: 1003 | int i; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/drat-trim.c: In function 'verify': [INFO] [stderr] warning: src/drat-trim.c:1409:9: warning: unused variable 'top_flag' [-Wunused-variable] [INFO] [stderr] warning: 1409 | int top_flag = 1; [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: src/drat-trim.c: In function 'getHash': [INFO] [stderr] warning: src/drat-trim.c:1780:24: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: 1780 | return (1023 * sum + prod ^ (31 * xor)) % BIGINIT; [INFO] [stderr] warning: | ~~~~~~~~~~~^~~~~~ [INFO] [stderr] warning: src/drat-trim.c: In function 'parse': [INFO] [stderr] warning: src/drat-trim.c:2037:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 2037 | for (i = 0; i < sizeof ignore; i++) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/drat-trim.c: In function 'propagate': [INFO] [stderr] warning: src/drat-trim.c:291:16: warning: '_watch' may be used uninitialized in this function [-Wmaybe-uninitialized] [INFO] [stderr] warning: 291 | while (*watch != END) [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] Checking regex v1.3.7 [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: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: 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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.08s [INFO] running `Command { std: "docker" "inspect" "54a1e109bd7cb5b81e290a2d3f2fe239f41b9764ff4ccaaf5efe3a5871c1de74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a1e109bd7cb5b81e290a2d3f2fe239f41b9764ff4ccaaf5efe3a5871c1de74", kill_on_drop: false }` [INFO] [stdout] 54a1e109bd7cb5b81e290a2d3f2fe239f41b9764ff4ccaaf5efe3a5871c1de74