[INFO] cloning repository https://github.com/nielsing/work [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nielsing/work" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnielsing%2Fwork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnielsing%2Fwork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7d9fe5dfb8b544720ac7b40cc9da6d681f7ee4b [INFO] testing nielsing/work against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnielsing%2Fwork" "/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/nielsing/work on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nielsing/work [INFO] finished tweaking git repo https://github.com/nielsing/work [INFO] tweaked toml for git repo https://github.com/nielsing/work written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/nielsing/work already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bdcb5e37790ce162c80c7ffd679127ade48861502368ebb65e1fcb64436ebfa [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" "1bdcb5e37790ce162c80c7ffd679127ade48861502368ebb65e1fcb64436ebfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bdcb5e37790ce162c80c7ffd679127ade48861502368ebb65e1fcb64436ebfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bdcb5e37790ce162c80c7ffd679127ade48861502368ebb65e1fcb64436ebfa", kill_on_drop: false }` [INFO] [stdout] 1bdcb5e37790ce162c80c7ffd679127ade48861502368ebb65e1fcb64436ebfa [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", 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] 1e75b4319b874d8a3685e9d8ef8da72f3f063e60ec0b7c3a9f09632992eb86cf [INFO] running `Command { std: "docker" "start" "-a" "1e75b4319b874d8a3685e9d8ef8da72f3f063e60ec0b7c3a9f09632992eb86cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling structopt-derive v0.4.4 [INFO] [stderr] Compiling structopt v0.3.11 [INFO] [stderr] Compiling work v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "1e75b4319b874d8a3685e9d8ef8da72f3f063e60ec0b7c3a9f09632992eb86cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e75b4319b874d8a3685e9d8ef8da72f3f063e60ec0b7c3a9f09632992eb86cf", kill_on_drop: false }` [INFO] [stdout] 1e75b4319b874d8a3685e9d8ef8da72f3f063e60ec0b7c3a9f09632992eb86cf [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3bdfbb552ff0835323a3b443c18b98a94d704e62a00ab34bedcc549b1cd8d62 [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" "f3bdfbb552ff0835323a3b443c18b98a94d704e62a00ab34bedcc549b1cd8d62", kill_on_drop: false }` [INFO] [stderr] Compiling work v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.82s [INFO] running `Command { std: "docker" "inspect" "f3bdfbb552ff0835323a3b443c18b98a94d704e62a00ab34bedcc549b1cd8d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3bdfbb552ff0835323a3b443c18b98a94d704e62a00ab34bedcc549b1cd8d62", kill_on_drop: false }` [INFO] [stdout] f3bdfbb552ff0835323a3b443c18b98a94d704e62a00ab34bedcc549b1cd8d62 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 24544d777b99a593483ebedbe0d8e0c6f10402f8d570c90939ca596ecb0b4032 [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" "24544d777b99a593483ebedbe0d8e0c6f10402f8d570c90939ca596ecb0b4032", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/work-871a99702af51dab) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test time::tests::regex_at_hour ... ok [INFO] [stdout] test time::tests::regex_minutes_ago ... ok [INFO] [stdout] test time::tests::regex_hours_and_minutes_ago ... ok [INFO] [stdout] test time::tests::regex_at_hour_minutes ... ok [INFO] [stdout] test time::tests::regex_at_day_month_hour_minutes ... ok [INFO] [stdout] test time::tests::test_interval_try_from_str ... ok [INFO] [stdout] test time::tests::test_parse_time_input_at_day_month_hour_minutes ... ok [INFO] [stdout] test time::tests::test_parse_time_input_hours_ago ... ok [INFO] [stdout] test time::tests::test_parse_time_input_hours_and_minutes_ago ... ok [INFO] [stdout] test time::tests::test_parse_time_input_minutes_ago ... ok [INFO] [stdout] test time::tests::test_parse_time_input_at_day_hour_minutes ... ok [INFO] [stdout] test time::tests::regex_hours_ago ... ok [INFO] [stdout] test time::tests::regex_at_day_hour_minutes ... ok [INFO] [stdout] test time::tests::test_parse_time_input_at_hour ... ok [INFO] [stdout] test time::tests::test_parse_time_input_at_hour_minutes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/work-1cd60e3265dfcb57) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests work [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/time.rs - time::approximate_minutes (line 63) ... FAILED [INFO] [stdout] test src/time.rs - time::approximate_hours (line 36) ... FAILED [INFO] [stdout] test src/time.rs - time::get_human_readable_form (line 119) ... FAILED [INFO] [stdout] test src/time.rs - time::Interval::new (line 407) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/time.rs - time::approximate_minutes (line 63) stdout ---- [INFO] [stdout] error[E0603]: function `approximate_minutes` is private [INFO] [stdout] --> src/time.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 4 | use work::time::approximate_minutes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `approximate_minutes` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/time.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | fn approximate_minutes(duration: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time.rs - time::approximate_hours (line 36) stdout ---- [INFO] [stdout] error[E0603]: function `approximate_hours` is private [INFO] [stdout] --> src/time.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 4 | use work::time::approximate_hours; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `approximate_hours` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/time.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | fn approximate_hours(duration: i64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/time.rs - time::get_human_readable_form (line 119) stdout ---- [INFO] [stdout] error[E0603]: function `get_human_readable_form` is private [INFO] [stdout] --> src/time.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 5 | use work::time::get_human_readable_form; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `get_human_readable_form` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/time.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | fn get_human_readable_form(duration: i64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/time.rs - time::approximate_hours (line 36) [INFO] [stdout] src/time.rs - time::approximate_minutes (line 63) [INFO] [stdout] src/time.rs - time::get_human_readable_form (line 119) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.71s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "24544d777b99a593483ebedbe0d8e0c6f10402f8d570c90939ca596ecb0b4032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24544d777b99a593483ebedbe0d8e0c6f10402f8d570c90939ca596ecb0b4032", kill_on_drop: false }` [INFO] [stdout] 24544d777b99a593483ebedbe0d8e0c6f10402f8d570c90939ca596ecb0b4032