[INFO] cloning repository https://github.com/iH8c0ff33/ntp-drift-logger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iH8c0ff33/ntp-drift-logger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiH8c0ff33%2Fntp-drift-logger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiH8c0ff33%2Fntp-drift-logger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fd1a46512630a0b284228c7edff4f9e06265514 [INFO] checking iH8c0ff33/ntp-drift-logger against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiH8c0ff33%2Fntp-drift-logger" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iH8c0ff33/ntp-drift-logger on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iH8c0ff33/ntp-drift-logger [INFO] removed path dependency ntp from git repo https://github.com/iH8c0ff33/ntp-drift-logger [INFO] finished tweaking git repo https://github.com/iH8c0ff33/ntp-drift-logger [INFO] tweaked toml for git repo https://github.com/iH8c0ff33/ntp-drift-logger written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/iH8c0ff33/ntp-drift-logger already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ntp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ntp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 9886a999fa9d651f3f327c7dbc816ac8a5efb9852b74d96fc959088beba51eb7 [INFO] running `Command { std: "docker" "start" "-a" "9886a999fa9d651f3f327c7dbc816ac8a5efb9852b74d96fc959088beba51eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9886a999fa9d651f3f327c7dbc816ac8a5efb9852b74d96fc959088beba51eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9886a999fa9d651f3f327c7dbc816ac8a5efb9852b74d96fc959088beba51eb7", kill_on_drop: false }` [INFO] [stdout] 9886a999fa9d651f3f327c7dbc816ac8a5efb9852b74d96fc959088beba51eb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5866ac8d22a6bace466ed5f7657b0eeb27410f01fa5a6981a6c8c25d3c993de5 [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" "5866ac8d22a6bace466ed5f7657b0eeb27410f01fa5a6981a6c8c25d3c993de5", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ntp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking ntp v0.5.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ntp-drift-logger v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `protocol` in `ntp` [INFO] [stdout] --> src/time.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn local_time(timestamp: ntp::protocol::TimestampFormat) -> chrono::DateTime { [INFO] [stdout] | ^^^^^^^^ could not find `protocol` in `ntp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix_time` in `ntp` [INFO] [stdout] --> src/time.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | let unix_time = ntp::unix_time::Instant::from(timestamp); [INFO] [stdout] | ^^^^^^^ not found in `ntp::unix_time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `protocol` in `ntp` [INFO] [stdout] --> src/time.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn local_time(timestamp: ntp::protocol::TimestampFormat) -> chrono::DateTime { [INFO] [stdout] | ^^^^^^^^ could not find `protocol` in `ntp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix_time` in `ntp` [INFO] [stdout] --> src/time.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | let unix_time = ntp::unix_time::Instant::from(timestamp); [INFO] [stdout] | ^^^^^^^ not found in `ntp::unix_time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/time.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_stats(address: T) -> io::Result { [INFO] [stdout] | ----------------- expected `std::io::Error` because of this [INFO] [stdout] 49 | let ntp_response = ntp::request(address)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `origin_timestamp` on type `Packet` [INFO] [stdout] --> src/time.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | let t1 = local_time(ntp_response.origin_timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `li`, `vn`, `mode`, `stratum`, `poll` ... and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `receive_timestamp` on type `Packet` [INFO] [stdout] --> src/time.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let t2 = local_time(ntp_response.receive_timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `li`, `vn`, `mode`, `stratum`, `poll` ... and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `transmit_timestamp` on type `Packet` [INFO] [stdout] --> src/time.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let t3 = local_time(ntp_response.transmit_timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a field with a similar name exists: `transmit_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/time.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_stats(address: T) -> io::Result { [INFO] [stdout] | ----------------- expected `std::io::Error` because of this [INFO] [stdout] 49 | let ntp_response = ntp::request(address)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `origin_timestamp` on type `Packet` [INFO] [stdout] --> src/time.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | let t1 = local_time(ntp_response.origin_timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `li`, `vn`, `mode`, `stratum`, `poll` ... and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `receive_timestamp` on type `Packet` [INFO] [stdout] --> src/time.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let t2 = local_time(ntp_response.receive_timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `li`, `vn`, `mode`, `stratum`, `poll` ... and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `transmit_timestamp` on type `Packet` [INFO] [stdout] --> src/time.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let t3 = local_time(ntp_response.transmit_timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a field with a similar name exists: `transmit_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ntp-drift-logger` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5866ac8d22a6bace466ed5f7657b0eeb27410f01fa5a6981a6c8c25d3c993de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5866ac8d22a6bace466ed5f7657b0eeb27410f01fa5a6981a6c8c25d3c993de5", kill_on_drop: false }` [INFO] [stdout] 5866ac8d22a6bace466ed5f7657b0eeb27410f01fa5a6981a6c8c25d3c993de5