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