[INFO] updating cached repository https://github.com/dashed/fromnow [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] 8e1b9c675755f7b3edb0f0aac52fee748697b22d [INFO] testing dashed/fromnow against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdashed%2Ffromnow" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dashed/fromnow 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/dashed/fromnow [INFO] finished tweaking git repo https://github.com/dashed/fromnow [INFO] tweaked toml for git repo https://github.com/dashed/fromnow written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/dashed/fromnow 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-2/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] [stderr] Updating git repository `https://github.com/m4rw3r/chomp` [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] f20bad379d02b5d69c1b7c5bed9c6f94b8f2cd65b36d446e395b9143f62d9bac [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" "f20bad379d02b5d69c1b7c5bed9c6f94b8f2cd65b36d446e395b9143f62d9bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f20bad379d02b5d69c1b7c5bed9c6f94b8f2cd65b36d446e395b9143f62d9bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f20bad379d02b5d69c1b7c5bed9c6f94b8f2cd65b36d446e395b9143f62d9bac", kill_on_drop: false }` [INFO] [stdout] f20bad379d02b5d69c1b7c5bed9c6f94b8f2cd65b36d446e395b9143f62d9bac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] a959b77881a495d8c4d184faf0f26a4befc4d0fd73199a5b459dd1b872b7239d [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" "a959b77881a495d8c4d184faf0f26a4befc4d0fd73199a5b459dd1b872b7239d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling debug-builders v0.1.0 [INFO] [stderr] Compiling debugtrace v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling version v2.0.1 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling backtrace v0.1.8 [INFO] [stderr] Compiling chomp v0.2.5 (https://github.com/m4rw3r/chomp?rev=c1287f2e7ee1558d50a8cab95e1bf900f5a47061#c1287f2e) [INFO] [stderr] Compiling fromnow v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / parse!{i; [INFO] [stdout] 146 | | skip_many(|i| space_or_tab(i)); [INFO] [stdout] 147 | | let result: u64 = multiple_time_range(); [INFO] [stdout] 148 | | skip_many(|i| space_or_tab(i)); [INFO] [stdout] 149 | | eof(); [INFO] [stdout] 150 | | ret result [INFO] [stdout] 151 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / parse!{i; [INFO] [stdout] 157 | | [INFO] [stdout] 158 | | let time: Vec = many1( [INFO] [stdout] 159 | | |i| or(i, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] 188 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / parse!{i; [INFO] [stdout] 193 | | [INFO] [stdout] 194 | | let range: u64 = decimal(); [INFO] [stdout] 195 | | [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] 208 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | / parse!{i; [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | string_ignore_case("milliseconds".as_bytes()) <|> [INFO] [stdout] 215 | | string_ignore_case("millisecond".as_bytes()) <|> [INFO] [stdout] ... | [INFO] [stdout] 220 | | ret 1 [INFO] [stdout] 221 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | / parse!{i; [INFO] [stdout] 226 | | [INFO] [stdout] 227 | | string_ignore_case("seconds".as_bytes()) <|> [INFO] [stdout] 228 | | string_ignore_case("second".as_bytes()) <|> [INFO] [stdout] ... | [INFO] [stdout] 234 | | ret 1000 [INFO] [stdout] 235 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / parse!{i; [INFO] [stdout] 240 | | [INFO] [stdout] 241 | | string_ignore_case("minutes".as_bytes()) <|> [INFO] [stdout] 242 | | string_ignore_case("minute".as_bytes()) <|> [INFO] [stdout] ... | [INFO] [stdout] 248 | | ret 60000 [INFO] [stdout] 249 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | / parse!{i; [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | string_ignore_case("hours".as_bytes()) <|> [INFO] [stdout] 256 | | string_ignore_case("hour".as_bytes()) <|> [INFO] [stdout] ... | [INFO] [stdout] 262 | | ret 3600000 [INFO] [stdout] 263 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | / parse!{i; [INFO] [stdout] 268 | | [INFO] [stdout] 269 | | string_ignore_case("days".as_bytes()) <|> [INFO] [stdout] 270 | | string_ignore_case("day".as_bytes()) <|> [INFO] [stdout] ... | [INFO] [stdout] 276 | | ret 86400000 [INFO] [stdout] 277 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / parse!{i; [INFO] [stdout] 282 | | [INFO] [stdout] 283 | | string_ignore_case("weeks".as_bytes()) <|> [INFO] [stdout] 284 | | string_ignore_case("week".as_bytes()) <|> [INFO] [stdout] ... | [INFO] [stdout] 290 | | ret 604800000 [INFO] [stdout] 291 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fromnow`. [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/main.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / parse!{input; [INFO] [stdout] 298 | | or( [INFO] [stdout] 299 | | |i| token(i, b' '), [INFO] [stdout] 300 | | |i| token(i, b'\t') [INFO] [stdout] 301 | | ); [INFO] [stdout] 302 | | ret () [INFO] [stdout] 303 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `token` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use chomp::{token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: unused import: `eof` [INFO] [stdout] --> src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | use chomp::parsers::{eof}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many1`, `or`, `skip_many` [INFO] [stdout] --> src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | use chomp::combinators::{or, many1, skip_many}; [INFO] [stdout] | ^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decimal` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use chomp::ascii::{decimal}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stdout] --> src/main.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ascii::{AsciiExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsciiExt` [INFO] [stdout] --> src/main.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ascii::{AsciiExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a959b77881a495d8c4d184faf0f26a4befc4d0fd73199a5b459dd1b872b7239d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a959b77881a495d8c4d184faf0f26a4befc4d0fd73199a5b459dd1b872b7239d", kill_on_drop: false }` [INFO] [stdout] a959b77881a495d8c4d184faf0f26a4befc4d0fd73199a5b459dd1b872b7239d