[INFO] updating cached repository https://github.com/PerfectLaugh/chinaroutes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2b803d31e23c5b7a6807be9623ed9e44d478136 [INFO] testing PerfectLaugh/chinaroutes against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerfectLaugh%2Fchinaroutes" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PerfectLaugh/chinaroutes on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PerfectLaugh/chinaroutes [INFO] finished tweaking git repo https://github.com/PerfectLaugh/chinaroutes [INFO] tweaked toml for git repo https://github.com/PerfectLaugh/chinaroutes written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/PerfectLaugh/chinaroutes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bf5890f250c9f6d4e1a5ca88ea749c4ad2b04759cf7f6a4f44a17af794f4491 [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" "7bf5890f250c9f6d4e1a5ca88ea749c4ad2b04759cf7f6a4f44a17af794f4491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bf5890f250c9f6d4e1a5ca88ea749c4ad2b04759cf7f6a4f44a17af794f4491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf5890f250c9f6d4e1a5ca88ea749c4ad2b04759cf7f6a4f44a17af794f4491", kill_on_drop: false }` [INFO] [stdout] 7bf5890f250c9f6d4e1a5ca88ea749c4ad2b04759cf7f6a4f44a17af794f4491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32cc8790242f9ba6b1751caa657508cb42182a6ec7c125b81e6addb1ae1b33ea [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" "32cc8790242f9ba6b1751caa657508cb42182a6ec7c125b81e6addb1ae1b33ea", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling chinaroutes v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stdout] warning: use of deprecated item 'gcc::Config': gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new().file("src/routes.c").include("/usr/include/libnl3").compile("libroutes.a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new().file("src/routes.c").include("/usr/include/libnl3").compile("libroutes.a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 44 | 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: 63 | bzero(rtroute, sizeof(rtroute)); [INFO] [stderr] warning: | ^ [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/main.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | type Ipv4 = [uint8_t; 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/main.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | mask: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/main.rs:23:60 [INFO] [stdout] | [INFO] [stdout] 23 | fn netlink_route_connect(skptr: *mut *const c_void) -> int32_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/main.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | fn netlink_route_add(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/main.rs:25:112 [INFO] [stdout] | [INFO] [stdout] 25 | fn netlink_route_add(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/main.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | fn netlink_route_del(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/main.rs:26:112 [INFO] [stdout] | [INFO] [stdout] 26 | fn netlink_route_del(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.46s [INFO] running `Command { std: "docker" "inspect" "32cc8790242f9ba6b1751caa657508cb42182a6ec7c125b81e6addb1ae1b33ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32cc8790242f9ba6b1751caa657508cb42182a6ec7c125b81e6addb1ae1b33ea", kill_on_drop: false }` [INFO] [stdout] 32cc8790242f9ba6b1751caa657508cb42182a6ec7c125b81e6addb1ae1b33ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0990659e9ce1ae4daabf145c5a126ec96e432585c7a962b9dbcb51c1349754c4 [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" "0990659e9ce1ae4daabf145c5a126ec96e432585c7a962b9dbcb51c1349754c4", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated item 'gcc::Config': gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new().file("src/routes.c").include("/usr/include/libnl3").compile("libroutes.a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gcc::Config::new().file("src/routes.c").include("/usr/include/libnl3").compile("libroutes.a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 44 | 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: 63 | bzero(rtroute, sizeof(rtroute)); [INFO] [stderr] warning: | ^ [INFO] [stderr] Compiling chinaroutes v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/main.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{int32_t, uint8_t, uint32_t, c_void}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint8_t': Use u8 instead. [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | type Ipv4 = [uint8_t; 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/main.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | mask: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/main.rs:23:60 [INFO] [stdout] | [INFO] [stdout] 23 | fn netlink_route_connect(skptr: *mut *const c_void) -> int32_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/main.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | fn netlink_route_add(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/main.rs:25:112 [INFO] [stdout] | [INFO] [stdout] 25 | fn netlink_route_add(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/main.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | fn netlink_route_del(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/main.rs:26:112 [INFO] [stdout] | [INFO] [stdout] 26 | fn netlink_route_del(sk: *const c_void, table: uint32_t, via: *const Ipv4, rtentry: *const route_entry) -> int32_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "0990659e9ce1ae4daabf145c5a126ec96e432585c7a962b9dbcb51c1349754c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0990659e9ce1ae4daabf145c5a126ec96e432585c7a962b9dbcb51c1349754c4", kill_on_drop: false }` [INFO] [stdout] 0990659e9ce1ae4daabf145c5a126ec96e432585c7a962b9dbcb51c1349754c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9bc4cee0d0e2b72d60682b94dbf7a4321e6de91a21438f693d8f3b0dcd664f68 [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" "9bc4cee0d0e2b72d60682b94dbf7a4321e6de91a21438f693d8f3b0dcd664f68", kill_on_drop: false }` [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: 2 warnings emitted [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: 44 | 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: 63 | 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] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/chinaroutes-d0f831152a4340a5 [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 `Command { std: "docker" "inspect" "9bc4cee0d0e2b72d60682b94dbf7a4321e6de91a21438f693d8f3b0dcd664f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc4cee0d0e2b72d60682b94dbf7a4321e6de91a21438f693d8f3b0dcd664f68", kill_on_drop: false }` [INFO] [stdout] 9bc4cee0d0e2b72d60682b94dbf7a4321e6de91a21438f693d8f3b0dcd664f68