[INFO] updating cached repository https://github.com/advancedtelematic/ota-cli [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] 863ee7a9a857eae0de900053e6f26f3aa103a904 [INFO] testing advancedtelematic/ota-cli against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvancedtelematic%2Fota-cli" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/advancedtelematic/ota-cli 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/advancedtelematic/ota-cli [INFO] finished tweaking git repo https://github.com/advancedtelematic/ota-cli [INFO] tweaked toml for git repo https://github.com/advancedtelematic/ota-cli written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/advancedtelematic/ota-cli 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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] e65652fdad29532c6ce108e9c6de7e9191e411b6174041d3865536805e657c1f [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" "e65652fdad29532c6ce108e9c6de7e9191e411b6174041d3865536805e657c1f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling arrayvec v0.4.9 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling openssl v0.10.16 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling string v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.13 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling libflate v0.1.19 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling zip v0.5.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling h2 v0.1.14 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling pretty_env_logger v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling hyper v0.12.18 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.5 [INFO] [stderr] Compiling ota v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/api/auth_plus.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | .map(|s| s.trim_left_matches("namespace.")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 57s [INFO] running `"docker" "inspect" "e65652fdad29532c6ce108e9c6de7e9191e411b6174041d3865536805e657c1f"` [INFO] running `"docker" "rm" "-f" "e65652fdad29532c6ce108e9c6de7e9191e411b6174041d3865536805e657c1f"` [INFO] [stdout] e65652fdad29532c6ce108e9c6de7e9191e411b6174041d3865536805e657c1f [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 792393e60d6f413ded8f3367d350336a329f8de82e725d312cc33d69cc481d3a [INFO] running `"docker" "start" "-a" "792393e60d6f413ded8f3367d350336a329f8de82e725d312cc33d69cc481d3a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling ota v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/api/auth_plus.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | .map(|s| s.trim_left_matches("namespace.")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/api/auth_plus.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | .map(|s| s.trim_left_matches("namespace.")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.47s [INFO] running `"docker" "inspect" "792393e60d6f413ded8f3367d350336a329f8de82e725d312cc33d69cc481d3a"` [INFO] running `"docker" "rm" "-f" "792393e60d6f413ded8f3367d350336a329f8de82e725d312cc33d69cc481d3a"` [INFO] [stdout] 792393e60d6f413ded8f3367d350336a329f8de82e725d312cc33d69cc481d3a [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 43d9f1da2fd8e3cb76f96ec4271438b5b2477ff133b24cffbd1c4ff64fc7aaa5 [INFO] running `"docker" "start" "-a" "43d9f1da2fd8e3cb76f96ec4271438b5b2477ff133b24cffbd1c4ff64fc7aaa5"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/api/auth_plus.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | .map(|s| s.trim_left_matches("namespace.")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/api/auth_plus.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | .map(|s| s.trim_left_matches("namespace.")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ota-f037d109ab7d0080 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test api::director::tests::parse_example_targets ... ok [INFO] [stdout] test api::reposerver::tests::parse_example_packages ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ota-9a4458d7f461bac6 [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests ota [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "43d9f1da2fd8e3cb76f96ec4271438b5b2477ff133b24cffbd1c4ff64fc7aaa5"` [INFO] running `"docker" "rm" "-f" "43d9f1da2fd8e3cb76f96ec4271438b5b2477ff133b24cffbd1c4ff64fc7aaa5"` [INFO] [stdout] 43d9f1da2fd8e3cb76f96ec4271438b5b2477ff133b24cffbd1c4ff64fc7aaa5