[INFO] updating cached repository https://github.com/mardiros/bearer [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] 0f1da922f005f97376c79b79d545df01e7816009 [INFO] testing mardiros/bearer against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmardiros%2Fbearer" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mardiros/bearer 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/mardiros/bearer [INFO] finished tweaking git repo https://github.com/mardiros/bearer [INFO] tweaked toml for git repo https://github.com/mardiros/bearer written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/mardiros/bearer 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] [stderr] error: the lock file /workspace/builds/worker-3/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 10f68e2f89a1531690a8147f65b71e7111fc6d0f5e3dcd858ccfce3b588574b2 [INFO] running `"docker" "start" "-a" "10f68e2f89a1531690a8147f65b71e7111fc6d0f5e3dcd858ccfce3b588574b2"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling tilde-expand v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.3.0 [INFO] [stderr] Compiling rustls v0.12.0 [INFO] [stderr] Compiling webpki-roots v0.14.0 [INFO] [stderr] Compiling toml v0.3.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling pretty_env_logger v0.1.1 [INFO] [stderr] Compiling cabot v0.1.4 [INFO] [stderr] Compiling bearer v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/helpers/oauth2.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | 'A'...'Z' | 'a'...'z' | '0'...'9' | '-' | '.' | '_' | '~' => out.push(b as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/helpers/oauth2.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | 'A'...'Z' | 'a'...'z' | '0'...'9' | '-' | '.' | '_' | '~' => out.push(b as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/helpers/oauth2.rs:15:40 [INFO] [stderr] | [INFO] [stderr] 15 | 'A'...'Z' | 'a'...'z' | '0'...'9' | '-' | '.' | '_' | '~' => out.push(b as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/results.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `"docker" "inspect" "10f68e2f89a1531690a8147f65b71e7111fc6d0f5e3dcd858ccfce3b588574b2"` [INFO] running `"docker" "rm" "-f" "10f68e2f89a1531690a8147f65b71e7111fc6d0f5e3dcd858ccfce3b588574b2"` [INFO] [stdout] 10f68e2f89a1531690a8147f65b71e7111fc6d0f5e3dcd858ccfce3b588574b2 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 05b44320589c7e5601a98d65c76121876299d99191cafcef083b23ac0018e97a [INFO] running `"docker" "start" "-a" "05b44320589c7e5601a98d65c76121876299d99191cafcef083b23ac0018e97a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling bearer v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/helpers/oauth2.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | 'A'...'Z' | 'a'...'z' | '0'...'9' | '-' | '.' | '_' | '~' => out.push(b as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/helpers/oauth2.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | 'A'...'Z' | 'a'...'z' | '0'...'9' | '-' | '.' | '_' | '~' => out.push(b as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/helpers/oauth2.rs:15:40 [INFO] [stderr] | [INFO] [stderr] 15 | 'A'...'Z' | 'a'...'z' | '0'...'9' | '-' | '.' | '_' | '~' => out.push(b as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/results.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/results.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | self.description() == other.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/results.rs:45:37 [INFO] [stderr] | [INFO] [stderr] 45 | self.description() == other.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.34s [INFO] running `"docker" "inspect" "05b44320589c7e5601a98d65c76121876299d99191cafcef083b23ac0018e97a"` [INFO] running `"docker" "rm" "-f" "05b44320589c7e5601a98d65c76121876299d99191cafcef083b23ac0018e97a"` [INFO] [stdout] 05b44320589c7e5601a98d65c76121876299d99191cafcef083b23ac0018e97a [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 2567578a7d728e32067c3957ce014ef05a446bd0b1dda0e527dc31b9648262cf [INFO] running `"docker" "start" "-a" "2567578a7d728e32067c3957ce014ef05a446bd0b1dda0e527dc31b9648262cf"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/helpers/oauth2.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | 'A'...'Z' | 'a'...'z' | '0'...'9' | '-' | '.' | '_' | '~' => out.push(b as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/helpers/oauth2.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | 'A'...'Z' | 'a'...'z' | '0'...'9' | '-' | '.' | '_' | '~' => out.push(b as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/helpers/oauth2.rs:15:40 [INFO] [stderr] | [INFO] [stderr] 15 | 'A'...'Z' | 'a'...'z' | '0'...'9' | '-' | '.' | '_' | '~' => out.push(b as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/results.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/results.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | self.description() == other.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/results.rs:45:37 [INFO] [stderr] | [INFO] [stderr] 45 | self.description() == other.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/bearer-50bef1559ec95e51 [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test helpers::path::tests::test_build_path_exists ... ok [INFO] [stdout] test helpers::path::tests::test_build_path_create_dir ... ok [INFO] [stdout] test config::tests::test_config_from_file_with_token ... ok [INFO] [stdout] test helpers::providers::tests::test_get_provier_unknown_provider ... ok [INFO] [stdout] test config::tests::test_config_from_invalid_file ... ok [INFO] [stdout] test helpers::path::tests::test_build_path_not_exists ... ok [INFO] [stdout] test helpers::path::tests::test_list_clients_err ... ok [INFO] [stdout] test config::tests::test_config_from_file_without_token ... ok [INFO] [stdout] test helpers::providers::tests::test_get_provier_known_provider ... ok [INFO] [stdout] test helpers::oauth2::tests::test_url_encode ... ok [INFO] [stdout] test helpers::path::tests::test_list_clients_ok ... ok [INFO] [stdout] test config::tests::test_config_new ... ok [INFO] [stdout] test helpers::oauth2client::tests::test_from_authcode ... ok [INFO] [stdout] test helpers::oauth2client::tests::test_from_refresh_token ... ok [INFO] [stdout] test helpers::oauth2::tests::test_get_tokens_error ... ok [INFO] [stdout] Fetchin tokens from http://127.0.0.1:6367/token [INFO] [stdout] test helpers::oauth2::tests::test_get_tokens_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "2567578a7d728e32067c3957ce014ef05a446bd0b1dda0e527dc31b9648262cf"` [INFO] running `"docker" "rm" "-f" "2567578a7d728e32067c3957ce014ef05a446bd0b1dda0e527dc31b9648262cf"` [INFO] [stdout] 2567578a7d728e32067c3957ce014ef05a446bd0b1dda0e527dc31b9648262cf