[INFO] cloning repository https://github.com/pajlada/github-repo-normalizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pajlada/github-repo-normalizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fgithub-repo-normalizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fgithub-repo-normalizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e9ba48f8b0c6f93f86e52169e451fe459ecb374 [INFO] testing pajlada/github-repo-normalizer against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fgithub-repo-normalizer" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pajlada/github-repo-normalizer on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pajlada/github-repo-normalizer [INFO] finished tweaking git repo https://github.com/pajlada/github-repo-normalizer [INFO] tweaked toml for git repo https://github.com/pajlada/github-repo-normalizer written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/pajlada/github-repo-normalizer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphql-introspection-query v0.2.0 [INFO] [stderr] Downloaded graphql-parser v0.2.3 [INFO] [stderr] Downloaded graphql_client_codegen v0.10.0 [INFO] [stderr] Downloaded graphql_client v0.10.0 [INFO] [stderr] Downloaded const_format v0.2.19 [INFO] [stderr] Downloaded graphql_query_derive v0.10.0 [INFO] running `Command { std: "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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec8552eced79007fdb56516373603b7fa37e35b08fcfb9c0e1a50d2cb99a7878 [INFO] running `Command { std: "docker" "start" "-a" "ec8552eced79007fdb56516373603b7fa37e35b08fcfb9c0e1a50d2cb99a7878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec8552eced79007fdb56516373603b7fa37e35b08fcfb9c0e1a50d2cb99a7878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec8552eced79007fdb56516373603b7fa37e35b08fcfb9c0e1a50d2cb99a7878", kill_on_drop: false }` [INFO] [stdout] ec8552eced79007fdb56516373603b7fa37e35b08fcfb9c0e1a50d2cb99a7878 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e160df9f93fc2e53b2ee093ea49e6bc9ad1e1315c0d5dceb2797571c8d8703e [INFO] running `Command { std: "docker" "start" "-a" "8e160df9f93fc2e53b2ee093ea49e6bc9ad1e1315c0d5dceb2797571c8d8703e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.14 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling const_format v0.2.19 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling graphql_client_codegen v0.10.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling graphql_query_derive v0.10.0 [INFO] [stderr] Compiling graphql_client v0.10.0 [INFO] [stderr] Compiling github-repo-normalizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `get_repositories_from_organization` [INFO] [stdout] --> src/api/graphql.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_repositories_from_organization(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate` [INFO] [stdout] --> src/branch_protection_rules.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn validate(&self, pattern: &str) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_from_reader` [INFO] [stdout] --> src/branch_protection_rules.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn load_from_reader(rdr: R) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_from_file` [INFO] [stdout] --> src/branch_protection_rules.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn load_from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/repository_settings.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn load(rdr: R) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_from_file` [INFO] [stdout] --> src/repository_settings.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn load_from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.88s [INFO] running `Command { std: "docker" "inspect" "8e160df9f93fc2e53b2ee093ea49e6bc9ad1e1315c0d5dceb2797571c8d8703e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e160df9f93fc2e53b2ee093ea49e6bc9ad1e1315c0d5dceb2797571c8d8703e", kill_on_drop: false }` [INFO] [stdout] 8e160df9f93fc2e53b2ee093ea49e6bc9ad1e1315c0d5dceb2797571c8d8703e [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e03192250c4d2deaa4aefa900ed7c3a2608c9a0a1323e91800f148942b8cbe6 [INFO] running `Command { std: "docker" "start" "-a" "2e03192250c4d2deaa4aefa900ed7c3a2608c9a0a1323e91800f148942b8cbe6", kill_on_drop: false }` [INFO] [stderr] Compiling github-repo-normalizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `get_repositories_from_organization` [INFO] [stdout] --> src/api/graphql.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_repositories_from_organization(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_from_file` [INFO] [stdout] --> src/branch_protection_rules.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn load_from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_from_file` [INFO] [stdout] --> src/repository_settings.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn load_from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.14s [INFO] running `Command { std: "docker" "inspect" "2e03192250c4d2deaa4aefa900ed7c3a2608c9a0a1323e91800f148942b8cbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e03192250c4d2deaa4aefa900ed7c3a2608c9a0a1323e91800f148942b8cbe6", kill_on_drop: false }` [INFO] [stdout] 2e03192250c4d2deaa4aefa900ed7c3a2608c9a0a1323e91800f148942b8cbe6 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 76c3470bedb2c3441273a5210fddf347ee3a4093e72d1f03f973d98de4370747 [INFO] running `Command { std: "docker" "start" "-a" "76c3470bedb2c3441273a5210fddf347ee3a4093e72d1f03f973d98de4370747", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `get_repositories_from_organization` [INFO] [stderr] --> src/api/graphql.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn get_repositories_from_organization(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `load_from_file` [INFO] [stderr] --> src/branch_protection_rules.rs:182:8 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn load_from_file(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `load_from_file` [INFO] [stderr] --> src/repository_settings.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn load_from_file(path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `github-repo-normalizer` (bin "github-repo-normalizer" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/github_repo_normalizer-3ba2cd6a1cd2d02c) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test branch_protection_rules::tests::test_load_branch_protection_rules ... ok [INFO] [stdout] test repository_settings::tests::test_load_repository_settings ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "76c3470bedb2c3441273a5210fddf347ee3a4093e72d1f03f973d98de4370747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c3470bedb2c3441273a5210fddf347ee3a4093e72d1f03f973d98de4370747", kill_on_drop: false }` [INFO] [stdout] 76c3470bedb2c3441273a5210fddf347ee3a4093e72d1f03f973d98de4370747