[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 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvancedtelematic%2Fota-cli" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/advancedtelematic/ota-cli on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-0/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 13b8bf01a14e40bfd04040df69b38ebf6a48ac8ff2cb189a2c8f80a4f7d1ed72 [INFO] running `"docker" "start" "-a" "13b8bf01a14e40bfd04040df69b38ebf6a48ac8ff2cb189a2c8f80a4f7d1ed72"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling rand_core v0.3.0 [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 arrayvec v0.4.9 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling openssl v0.10.16 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling string v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.13 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling lock_api v0.1.5 [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 syn v0.15.23 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling libflate v0.1.19 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling iovec v0.1.2 [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 memchr v2.1.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling phf_generator v0.7.23 [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 phf_codegen v0.7.23 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling zip v0.5.0 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling pretty_env_logger v0.3.0 [INFO] [stderr] Compiling h2 v0.1.14 [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 toml v0.4.10 [INFO] [stderr] Compiling url_serde v0.2.0 [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 59s [INFO] running `"docker" "inspect" "13b8bf01a14e40bfd04040df69b38ebf6a48ac8ff2cb189a2c8f80a4f7d1ed72"` [INFO] running `"docker" "rm" "-f" "13b8bf01a14e40bfd04040df69b38ebf6a48ac8ff2cb189a2c8f80a4f7d1ed72"` [INFO] [stdout] 13b8bf01a14e40bfd04040df69b38ebf6a48ac8ff2cb189a2c8f80a4f7d1ed72 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.44.0" "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] e26efdecff1d719f89072598364fdd80efa275140b3c43d8a9766c98cd18365b [INFO] running `"docker" "start" "-a" "e26efdecff1d719f89072598364fdd80efa275140b3c43d8a9766c98cd18365b"` [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 9.71s [INFO] running `"docker" "inspect" "e26efdecff1d719f89072598364fdd80efa275140b3c43d8a9766c98cd18365b"` [INFO] running `"docker" "rm" "-f" "e26efdecff1d719f89072598364fdd80efa275140b3c43d8a9766c98cd18365b"` [INFO] [stdout] e26efdecff1d719f89072598364fdd80efa275140b3c43d8a9766c98cd18365b [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.44.0" "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] e72716756a0e7f4ff2993cf261778d7f201f8961a31322c6acb66681858b5269 [INFO] running `"docker" "start" "-a" "e72716756a0e7f4ff2993cf261778d7f201f8961a31322c6acb66681858b5269"` [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.35s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ota-509d07fce3801fd5 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test api::director::tests::parse_example_targets ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ota-0bb80de29d360a93 [INFO] [stdout] test api::reposerver::tests::parse_example_packages ... ok [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" "e72716756a0e7f4ff2993cf261778d7f201f8961a31322c6acb66681858b5269"` [INFO] running `"docker" "rm" "-f" "e72716756a0e7f4ff2993cf261778d7f201f8961a31322c6acb66681858b5269"` [INFO] [stdout] e72716756a0e7f4ff2993cf261778d7f201f8961a31322c6acb66681858b5269