[INFO] updating cached repository PerfectLaugh/chinaroutes [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/PerfectLaugh/chinaroutes [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/PerfectLaugh/chinaroutes" "work/ex/beta-1.38-1/sources/1.37.0/gh/PerfectLaugh/chinaroutes"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/PerfectLaugh/chinaroutes'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/PerfectLaugh/chinaroutes" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/PerfectLaugh/chinaroutes"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/PerfectLaugh/chinaroutes'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c2b803d31e23c5b7a6807be9623ed9e44d478136 [INFO] sha for GitHub repo PerfectLaugh/chinaroutes: c2b803d31e23c5b7a6807be9623ed9e44d478136 [INFO] validating manifest of PerfectLaugh/chinaroutes on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of PerfectLaugh/chinaroutes on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing PerfectLaugh/chinaroutes [INFO] finished frobbing PerfectLaugh/chinaroutes [INFO] frobbed toml for PerfectLaugh/chinaroutes written to work/ex/beta-1.38-1/sources/1.37.0/gh/PerfectLaugh/chinaroutes/Cargo.toml [INFO] started frobbing PerfectLaugh/chinaroutes [INFO] finished frobbing PerfectLaugh/chinaroutes [INFO] frobbed toml for PerfectLaugh/chinaroutes written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/PerfectLaugh/chinaroutes/Cargo.toml [INFO] crate PerfectLaugh/chinaroutes already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/PerfectLaugh/chinaroutes/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing PerfectLaugh/chinaroutes against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/PerfectLaugh/chinaroutes:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 5c789b94a509615fa27d8a4556b5de624d8879f10bd315e7dca77710a575a5f2 [INFO] running `"docker" "start" "-a" "5c789b94a509615fa27d8a4556b5de624d8879f10bd315e7dca77710a575a5f2"` [INFO] [stderr] Compiling chinaroutes v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'gcc::Config': gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | gcc::Config::new().file("src/routes.c").include("/usr/include/libnl3").compile("libroutes.a"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | gcc::Config::new().file("src/routes.c").include("/usr/include/libnl3").compile("libroutes.a"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: src/routes.c: In function 'netlink_route_add': [INFO] [stderr] warning: src/routes.c:44:26: warning: argument to 'sizeof' in 'bzero' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] [INFO] [stderr] warning: bzero(rtroute, sizeof(rtroute)); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: src/routes.c: In function 'netlink_route_del': [INFO] [stderr] warning: src/routes.c:63:26: warning: argument to 'sizeof' in 'bzero' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] [INFO] [stderr] warning: bzero(rtroute, sizeof(rtroute)); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/main.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/main.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/main.rs:9:30 [INFO] [stderr] | [INFO] [stderr] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/main.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | type Ipv4 = [uint8_t; 4]; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/main.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | mask: uint32_t, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/main.rs:23:60 [INFO] [stderr] | [INFO] [stderr] 23 | fn netlink_route_connect(skptr: *mut *const c_void) -> int32_t; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/main.rs:25:52 [INFO] [stderr] | [INFO] [stderr] 25 | fn netlink_route_add(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/main.rs:25:112 [INFO] [stderr] | [INFO] [stderr] 25 | fn netlink_route_add(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/main.rs:26:52 [INFO] [stderr] | [INFO] [stderr] 26 | fn netlink_route_del(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/main.rs:26:112 [INFO] [stderr] | [INFO] [stderr] 26 | fn netlink_route_del(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.35s [INFO] running `"docker" "inspect" "5c789b94a509615fa27d8a4556b5de624d8879f10bd315e7dca77710a575a5f2"` [INFO] running `"docker" "rm" "-f" "5c789b94a509615fa27d8a4556b5de624d8879f10bd315e7dca77710a575a5f2"` [INFO] [stdout] 5c789b94a509615fa27d8a4556b5de624d8879f10bd315e7dca77710a575a5f2 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/PerfectLaugh/chinaroutes:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 792814d5b3969f5ec00468d8feab06a36c74b8deaeab9544da1fb0c6bbe8f227 [INFO] running `"docker" "start" "-a" "792814d5b3969f5ec00468d8feab06a36c74b8deaeab9544da1fb0c6bbe8f227"` [INFO] [stderr] warning: src/routes.c: In function 'netlink_route_add': [INFO] [stderr] warning: src/routes.c:44:26: warning: argument to 'sizeof' in 'bzero' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] [INFO] [stderr] warning: bzero(rtroute, sizeof(rtroute)); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: src/routes.c: In function 'netlink_route_del': [INFO] [stderr] warning: src/routes.c:63:26: warning: argument to 'sizeof' in 'bzero' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] [INFO] [stderr] warning: bzero(rtroute, sizeof(rtroute)); [INFO] [stderr] warning: ^ [INFO] [stderr] Compiling chinaroutes v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/main.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/main.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/main.rs:9:30 [INFO] [stderr] | [INFO] [stderr] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stderr] --> src/main.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | type Ipv4 = [uint8_t; 4]; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/main.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | mask: uint32_t, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/main.rs:23:60 [INFO] [stderr] | [INFO] [stderr] 23 | fn netlink_route_connect(skptr: *mut *const c_void) -> int32_t; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/main.rs:25:52 [INFO] [stderr] | [INFO] [stderr] 25 | fn netlink_route_add(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/main.rs:25:112 [INFO] [stderr] | [INFO] [stderr] 25 | fn netlink_route_add(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/main.rs:26:52 [INFO] [stderr] | [INFO] [stderr] 26 | fn netlink_route_del(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/main.rs:26:112 [INFO] [stderr] | [INFO] [stderr] 26 | fn netlink_route_del(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `"docker" "inspect" "792814d5b3969f5ec00468d8feab06a36c74b8deaeab9544da1fb0c6bbe8f227"` [INFO] running `"docker" "rm" "-f" "792814d5b3969f5ec00468d8feab06a36c74b8deaeab9544da1fb0c6bbe8f227"` [INFO] [stdout] 792814d5b3969f5ec00468d8feab06a36c74b8deaeab9544da1fb0c6bbe8f227 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/PerfectLaugh/chinaroutes:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] a286483e81e3800506d937292fa67b9a522128415949f266356349a44e2ea81d [INFO] running `"docker" "start" "-a" "a286483e81e3800506d937292fa67b9a522128415949f266356349a44e2ea81d"` [INFO] [stderr] warning: src/routes.c: In function 'netlink_route_add': [INFO] [stderr] warning: src/routes.c:44:26: warning: argument to 'sizeof' in 'bzero' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] [INFO] [stderr] warning: bzero(rtroute, sizeof(rtroute)); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: src/routes.c: In function 'netlink_route_del': [INFO] [stderr] warning: src/routes.c:63:26: warning: argument to 'sizeof' in 'bzero' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] [INFO] [stderr] warning: bzero(rtroute, sizeof(rtroute)); [INFO] [stderr] warning: ^ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/chinaroutes-834d372f42cdbfb8 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "a286483e81e3800506d937292fa67b9a522128415949f266356349a44e2ea81d"` [INFO] running `"docker" "rm" "-f" "a286483e81e3800506d937292fa67b9a522128415949f266356349a44e2ea81d"` [INFO] [stdout] a286483e81e3800506d937292fa67b9a522128415949f266356349a44e2ea81d