[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 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 7aac1b2b42782284c8857b9edc010c80ef04c1528d9af3ad06224449d6e382fe [INFO] running `"docker" "start" "-a" "7aac1b2b42782284c8857b9edc010c80ef04c1528d9af3ad06224449d6e382fe"` [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling chinaroutes v0.1.2 (/opt/crater/workdir) [INFO] [stderr] Compiling aho-corasick v0.6.10 [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] Compiling regex v0.2.11 [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 19.96s [INFO] running `"docker" "inspect" "7aac1b2b42782284c8857b9edc010c80ef04c1528d9af3ad06224449d6e382fe"` [INFO] running `"docker" "rm" "-f" "7aac1b2b42782284c8857b9edc010c80ef04c1528d9af3ad06224449d6e382fe"` [INFO] [stdout] 7aac1b2b42782284c8857b9edc010c80ef04c1528d9af3ad06224449d6e382fe [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 82ae493a24944ed588bf2826c5c1f02b30fe4714e83b1f74970a1a28c085dd39 [INFO] running `"docker" "start" "-a" "82ae493a24944ed588bf2826c5c1f02b30fe4714e83b1f74970a1a28c085dd39"` [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.88s [INFO] running `"docker" "inspect" "82ae493a24944ed588bf2826c5c1f02b30fe4714e83b1f74970a1a28c085dd39"` [INFO] running `"docker" "rm" "-f" "82ae493a24944ed588bf2826c5c1f02b30fe4714e83b1f74970a1a28c085dd39"` [INFO] [stdout] 82ae493a24944ed588bf2826c5c1f02b30fe4714e83b1f74970a1a28c085dd39 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 54815d778008a613a68d52b1ee580b9eca02c9655a3632f312c362dd1cf05575 [INFO] running `"docker" "start" "-a" "54815d778008a613a68d52b1ee580b9eca02c9655a3632f312c362dd1cf05575"` [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.07s [INFO] [stderr] Running /opt/crater/target/debug/deps/chinaroutes-0f3c48145944f1f9 [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" "54815d778008a613a68d52b1ee580b9eca02c9655a3632f312c362dd1cf05575"` [INFO] running `"docker" "rm" "-f" "54815d778008a613a68d52b1ee580b9eca02c9655a3632f312c362dd1cf05575"` [INFO] [stdout] 54815d778008a613a68d52b1ee580b9eca02c9655a3632f312c362dd1cf05575