[INFO] cloning repository https://github.com/HarukiUchito/rtklib_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarukiUchito/rtklib_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarukiUchito%2Frtklib_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarukiUchito%2Frtklib_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd46c151c9dacc10eb34eef9f303184b7786439a [INFO] building HarukiUchito/rtklib_rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarukiUchito%2Frtklib_rust" "/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/HarukiUchito/rtklib_rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HarukiUchito/rtklib_rust [INFO] finished tweaking git repo https://github.com/HarukiUchito/rtklib_rust [INFO] tweaked toml for git repo https://github.com/HarukiUchito/rtklib_rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HarukiUchito/rtklib_rust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ccbf573c3e4fef8e51fa22e83f14ded98c8acf7cfd737424605134c58d30bcf [INFO] running `Command { std: "docker" "start" "-a" "0ccbf573c3e4fef8e51fa22e83f14ded98c8acf7cfd737424605134c58d30bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ccbf573c3e4fef8e51fa22e83f14ded98c8acf7cfd737424605134c58d30bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ccbf573c3e4fef8e51fa22e83f14ded98c8acf7cfd737424605134c58d30bcf", kill_on_drop: false }` [INFO] [stdout] 0ccbf573c3e4fef8e51fa22e83f14ded98c8acf7cfd737424605134c58d30bcf [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ccaf5fb39a95c565528be400d9beada97ab2fc295f332917c7c158e6a047ace [INFO] running `Command { std: "docker" "start" "-a" "2ccaf5fb39a95c565528be400d9beada97ab2fc295f332917c7c158e6a047ace", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling rtklib_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:88:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] [INFO] [stderr] warning: rtklib_rust@0.1.0: 88 | const static double gpst0[]={1980,1, 6,0,0,0}; /* gps time reference */ [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:89:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] [INFO] [stderr] warning: rtklib_rust@0.1.0: 89 | const static double gst0 []={1999,8,22,0,0,0}; /* galileo system time reference */ [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:91:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] [INFO] [stderr] warning: rtklib_rust@0.1.0: 91 | const static double leaps[][7]={ /* leap seconds {y,m,d,h,m,s,utc-gpst,...} */ [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c: In function 'matinv': [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:699:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: rtklib_rust@0.1.0: 699 | for (i=0;i=0;s++) *p++=*s=='d'||*s=='D'?'E':*s; *p='\0'; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:872:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' [INFO] [stderr] warning: rtklib_rust@0.1.0: 872 | for (s+=i;*s&&--n>=0;s++) *p++=*s=='d'||*s=='D'?'E':*s; *p='\0'; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c: In function 'str2time': [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:887:45: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] [INFO] [stderr] warning: rtklib_rust@0.1.0: 887 | if (i<0||(int)strlen(s)=0;) *p++=*s++; *p='\0'; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:888:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' [INFO] [stderr] warning: rtklib_rust@0.1.0: 888 | for (s+=i;*s&&--n>=0;) *p++=*s++; *p='\0'; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c: In function 'gpst2utc': [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:1072:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: rtklib_rust@0.1.0: 1072 | for (i=0;i \"%s\"",tmpfile,uncfile); [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~ ~~~~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:2688:9: note: 'sprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024 [INFO] [stderr] warning: rtklib_rust@0.1.0: 2688 | sprintf(cmd,"gzip -f -d -c \"%s\" > \"%s\"",tmpfile,uncfile); [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:2702:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1013 [-Wformat-overflow=] [INFO] [stderr] warning: rtklib_rust@0.1.0: 2702 | sprintf(cmd,"crx2rnx < \"%s\" > \"%s\"",tmpfile,uncfile); [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~ ~~~~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:2702:9: note: 'sprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 [INFO] [stderr] warning: rtklib_rust@0.1.0: 2702 | sprintf(cmd,"crx2rnx < \"%s\" > \"%s\"",tmpfile,uncfile); [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: At top level: [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:81:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: rtklib_rust@0.1.0: 81 | static const char rcsid[]="$Id: rtkcmn.c,v 1.1 2008/07/17 21:48:06 ttaka Exp ttaka $"; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~ [INFO] [stdout] warning: function `satno` is never used [INFO] [stdout] --> src/main.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn satno(sys:i32, prn:i32) -> i32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | fn satid2no(id:&str) -> i32; [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "2ccaf5fb39a95c565528be400d9beada97ab2fc295f332917c7c158e6a047ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ccaf5fb39a95c565528be400d9beada97ab2fc295f332917c7c158e6a047ace", kill_on_drop: false }` [INFO] [stdout] 2ccaf5fb39a95c565528be400d9beada97ab2fc295f332917c7c158e6a047ace [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01342af36bd427a06f707b4ea17cf83302e9860a3b838c47096fc53a079ed622 [INFO] running `Command { std: "docker" "start" "-a" "01342af36bd427a06f707b4ea17cf83302e9860a3b838c47096fc53a079ed622", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:88:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] [INFO] [stderr] warning: rtklib_rust@0.1.0: 88 | const static double gpst0[]={1980,1, 6,0,0,0}; /* gps time reference */ [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:89:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] [INFO] [stderr] warning: rtklib_rust@0.1.0: 89 | const static double gst0 []={1999,8,22,0,0,0}; /* galileo system time reference */ [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:91:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] [INFO] [stderr] warning: rtklib_rust@0.1.0: 91 | const static double leaps[][7]={ /* leap seconds {y,m,d,h,m,s,utc-gpst,...} */ [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c: In function 'matinv': [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:699:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: rtklib_rust@0.1.0: 699 | for (i=0;i=0;s++) *p++=*s=='d'||*s=='D'?'E':*s; *p='\0'; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:872:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' [INFO] [stderr] warning: rtklib_rust@0.1.0: 872 | for (s+=i;*s&&--n>=0;s++) *p++=*s=='d'||*s=='D'?'E':*s; *p='\0'; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c: In function 'str2time': [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:887:45: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] [INFO] [stderr] warning: rtklib_rust@0.1.0: 887 | if (i<0||(int)strlen(s)=0;) *p++=*s++; *p='\0'; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:888:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' [INFO] [stderr] warning: rtklib_rust@0.1.0: 888 | for (s+=i;*s&&--n>=0;) *p++=*s++; *p='\0'; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c: In function 'gpst2utc': [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:1072:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: rtklib_rust@0.1.0: 1072 | for (i=0;i \"%s\"",tmpfile,uncfile); [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~ ~~~~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:2688:9: note: 'sprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024 [INFO] [stderr] warning: rtklib_rust@0.1.0: 2688 | sprintf(cmd,"gzip -f -d -c \"%s\" > \"%s\"",tmpfile,uncfile); [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:2702:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1013 [-Wformat-overflow=] [INFO] [stderr] warning: rtklib_rust@0.1.0: 2702 | sprintf(cmd,"crx2rnx < \"%s\" > \"%s\"",tmpfile,uncfile); [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~ ~~~~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:2702:9: note: 'sprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 [INFO] [stderr] warning: rtklib_rust@0.1.0: 2702 | sprintf(cmd,"crx2rnx < \"%s\" > \"%s\"",tmpfile,uncfile); [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rtklib_rust@0.1.0: At top level: [INFO] [stderr] warning: rtklib_rust@0.1.0: src/rtkcmn.c:81:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: rtklib_rust@0.1.0: 81 | static const char rcsid[]="$Id: rtkcmn.c,v 1.1 2008/07/17 21:48:06 ttaka Exp ttaka $"; [INFO] [stderr] warning: rtklib_rust@0.1.0: | ^~~~~ [INFO] [stderr] Compiling rtklib_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `satno` is never used [INFO] [stdout] --> src/main.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn satno(sys:i32, prn:i32) -> i32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | fn satid2no(id:&str) -> i32; [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "01342af36bd427a06f707b4ea17cf83302e9860a3b838c47096fc53a079ed622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01342af36bd427a06f707b4ea17cf83302e9860a3b838c47096fc53a079ed622", kill_on_drop: false }` [INFO] [stdout] 01342af36bd427a06f707b4ea17cf83302e9860a3b838c47096fc53a079ed622