[INFO] updating cached repository https://github.com/euank/chrony-rs [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] 6836bcbb8c0f38e850a4e6dd0ab2a7628a1d0e78 [INFO] testing euank/chrony-rs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuank%2Fchrony-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/euank/chrony-rs 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/euank/chrony-rs [INFO] finished tweaking git repo https://github.com/euank/chrony-rs [INFO] tweaked toml for git repo https://github.com/euank/chrony-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/euank/chrony-rs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 747a415b5938c88fc3e2700f78b2fbc94b77a2ad24fb47560ef87e74fc79c10f [INFO] running `Command { std: "docker" "start" "-a" "747a415b5938c88fc3e2700f78b2fbc94b77a2ad24fb47560ef87e74fc79c10f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "747a415b5938c88fc3e2700f78b2fbc94b77a2ad24fb47560ef87e74fc79c10f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747a415b5938c88fc3e2700f78b2fbc94b77a2ad24fb47560ef87e74fc79c10f", kill_on_drop: false }` [INFO] [stdout] 747a415b5938c88fc3e2700f78b2fbc94b77a2ad24fb47560ef87e74fc79c10f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 847da2c47bab007c8725bce59a39aca3f715fdbd7ce749484f1de8c6657f2a19 [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" "847da2c47bab007c8725bce59a39aca3f715fdbd7ce749484f1de8c6657f2a19", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling c2rust-asm-casts v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling errno v0.2.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling caps v0.3.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.2.0 [INFO] [stderr] Compiling c2rust-bitfields v0.3.0 [INFO] [stderr] Compiling chrony-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/sched.rs:1069:21 [INFO] [stdout] | [INFO] [stdout] 1069 | asm!("cld; rep; stosq" : "={cx}" (fresh3), "={di}" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____________________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 1070 | | (fresh5) : "{ax}" (0 as libc::c_int), "0" [INFO] [stdout] 1071 | | (c2rust_asm_casts::AsmCast::cast_in(fresh2, fresh6)), [INFO] [stdout] 1072 | | "1" [INFO] [stdout] 1073 | | (c2rust_asm_casts::AsmCast::cast_in(fresh4, fresh7)) [INFO] [stdout] 1074 | | : "memory" : "volatile"); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/sched.rs:1111:21 [INFO] [stdout] | [INFO] [stdout] 1111 | asm!("cld; rep; stosq" : "={cx}" (fresh9), "={di}" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____________________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 1112 | | (fresh11) : "{ax}" (0 as libc::c_int), "0" [INFO] [stdout] 1113 | | (c2rust_asm_casts::AsmCast::cast_in(fresh8, fresh12)), [INFO] [stdout] 1114 | | "1" [INFO] [stdout] 1115 | | (c2rust_asm_casts::AsmCast::cast_in(fresh10, fresh13)) [INFO] [stdout] 1116 | | : "memory" : "volatile"); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/sched.rs:1153:21 [INFO] [stdout] | [INFO] [stdout] 1153 | asm!("cld; rep; stosq" : "={cx}" (fresh15), "={di}" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____________________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 1154 | | (fresh17) : "{ax}" (0 as libc::c_int), "0" [INFO] [stdout] 1155 | | (c2rust_asm_casts::AsmCast::cast_in(fresh14, fresh18)), [INFO] [stdout] 1156 | | "1" [INFO] [stdout] 1157 | | (c2rust_asm_casts::AsmCast::cast_in(fresh16, fresh19)) [INFO] [stdout] 1158 | | : "memory" : "volatile"); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / #![feature(asm, const_raw_ptr_to_usize_cast, extern_types, label_break_value, main, [INFO] [stdout] 5 | | register_tool, ptr_wrapping_offset_from, c_variadic)] [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Result` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use anyhow::{Result, Error}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ntp_core.rs:2878:18 [INFO] [stdout] | [INFO] [stdout] 2878 | / (if local_transmit.err > local_receive.err { [INFO] [stdout] 2879 | | local_transmit.err [INFO] [stdout] 2880 | | } else { local_receive.err }) [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2878 | if local_transmit.err > local_receive.err { [INFO] [stdout] 2879 | local_transmit.err [INFO] [stdout] 2880 | } else { local_receive.err } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/cmdmon.rs:2908:21 [INFO] [stdout] | [INFO] [stdout] 2901 | / __assert_fail(b"0\x00" as *const u8 as [INFO] [stdout] 2902 | | *const libc::c_char, [INFO] [stdout] 2903 | | b"cmdmon.c\x00" as *const u8 as [INFO] [stdout] 2904 | | *const libc::c_char, [INFO] [stdout] 2905 | | 1364 as libc::c_int as libc::c_uint, [INFO] [stdout] 2906 | | (*::std::mem::transmute::<&[u8; 44], [INFO] [stdout] 2907 | | &[libc::c_char; 44]>(b"void read_from_cmd_socket(int, int, void *)\x00")).as_ptr()); [INFO] [stdout] | |_______________________________________________________________________________________________________________________________________________- any code following this expression is unreachable [INFO] [stdout] 2908 | allowed = 0 as libc::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/keys.rs:777:13 [INFO] [stdout] | [INFO] [stdout] 772 | / __assert_fail(b"0\x00" as *const u8 as *const libc::c_char, [INFO] [stdout] 773 | | b"keys.c\x00" as *const u8 as *const libc::c_char, [INFO] [stdout] 774 | | 384 as libc::c_int as libc::c_uint, [INFO] [stdout] 775 | | (*::std::mem::transmute::<&[u8; 32], [INFO] [stdout] 776 | | &[libc::c_char; 32]>(b"int KEY_GetAuthLength(uint32_t)\x00")).as_ptr()); [INFO] [stdout] | |___________________________________________________________________________________________________________________________- any code following this expression is unreachable [INFO] [stdout] 777 | return 0 as libc::c_int [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/reference.rs:1259:17 [INFO] [stdout] | [INFO] [stdout] 1253 | / __assert_fail(b"0\x00" as *const u8 as *const libc::c_char, [INFO] [stdout] 1254 | | b"reference.c\x00" as *const u8 as [INFO] [stdout] 1255 | | *const libc::c_char, [INFO] [stdout] 1256 | | 779 as libc::c_int as libc::c_uint, [INFO] [stdout] 1257 | | (*::std::mem::transmute::<&[u8; 47], [INFO] [stdout] 1258 | | &[libc::c_char; 47]>(b"void update_leap_status(NTP_Leap, time_t, int)\x00")).as_ptr()); [INFO] [stdout] | |______________________________________________________________________________________________________________________________________________- any code following this expression is unreachable [INFO] [stdout] 1259 | current_block_22 = 7056779235015430508; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/sources.rs:1041:5 [INFO] [stdout] | [INFO] [stdout] 1029 | / match (*inst).type_0 as libc::c_uint { [INFO] [stdout] 1030 | | 0 => { return UTI_IPToString((*inst).ip_addr) } [INFO] [stdout] 1031 | | 1 => { return UTI_RefidToString((*inst).ref_id) } [INFO] [stdout] 1032 | | _ => { [INFO] [stdout] ... | [INFO] [stdout] 1039 | | } [INFO] [stdout] 1040 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 1041 | return 0 as *mut libc::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/util.rs:1723:13 [INFO] [stdout] | [INFO] [stdout] 1718 | / __assert_fail(b"0\x00" as *const u8 as *const libc::c_char, [INFO] [stdout] 1719 | | b"util.c\x00" as *const u8 as *const libc::c_char, [INFO] [stdout] 1720 | | 1152 as libc::c_int as libc::c_uint, [INFO] [stdout] 1721 | | (*::std::mem::transmute::<&[u8; 75], [INFO] [stdout] 1722 | | &[libc::c_char; 75]>(b"FILE *UTI_OpenFile(const char *, const char *, const char *, char, mode_t)\x00")).as_ptr()); [INFO] [stdout] | |______________________________________________________________________________________________________________________________________________________________________- any code following this expression is unreachable [INFO] [stdout] 1723 | return 0 as *mut FILE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chrony-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "847da2c47bab007c8725bce59a39aca3f715fdbd7ce749484f1de8c6657f2a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "847da2c47bab007c8725bce59a39aca3f715fdbd7ce749484f1de8c6657f2a19", kill_on_drop: false }` [INFO] [stdout] 847da2c47bab007c8725bce59a39aca3f715fdbd7ce749484f1de8c6657f2a19