[INFO] cloning repository https://github.com/ibx34/token-gen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ibx34/token-gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibx34%2Ftoken-gen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibx34%2Ftoken-gen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3a003e151b0b76170114512522b2c2ef70be868 [INFO] testing ibx34/token-gen against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibx34%2Ftoken-gen" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ibx34/token-gen on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ibx34/token-gen [INFO] finished tweaking git repo https://github.com/ibx34/token-gen [INFO] tweaked toml for git repo https://github.com/ibx34/token-gen written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ibx34/token-gen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", 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] f3d36934d7cc79a88ab8094929e2f86cbcd5cde334a3cfaf409684414ec40f6b [INFO] running `Command { std: "docker" "start" "-a" "f3d36934d7cc79a88ab8094929e2f86cbcd5cde334a3cfaf409684414ec40f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3d36934d7cc79a88ab8094929e2f86cbcd5cde334a3cfaf409684414ec40f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3d36934d7cc79a88ab8094929e2f86cbcd5cde334a3cfaf409684414ec40f6b", kill_on_drop: false }` [INFO] [stdout] f3d36934d7cc79a88ab8094929e2f86cbcd5cde334a3cfaf409684414ec40f6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bfbe6281575088c7b119884e100f16b2efa143a18c932a290917ab1494190dd [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" "9bfbe6281575088c7b119884e100f16b2efa143a18c932a290917ab1494190dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rust-token v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `encrypt_secret_and_hash` [INFO] [stdout] --> src/tokens/secret.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn encrypt_secret_and_hash(secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encrypt_secret` [INFO] [stdout] --> src/tokens/secret.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn encrypt_secret(secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_secret` [INFO] [stdout] --> src/tokens/secret.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn hash_secret(secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_with_snowflake` [INFO] [stdout] --> src/tokens/token.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn create_with_snowflake(&mut self, snowflake: i64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "9bfbe6281575088c7b119884e100f16b2efa143a18c932a290917ab1494190dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfbe6281575088c7b119884e100f16b2efa143a18c932a290917ab1494190dd", kill_on_drop: false }` [INFO] [stdout] 9bfbe6281575088c7b119884e100f16b2efa143a18c932a290917ab1494190dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de464cc357d03c5933ad45cecc732a84e064662439e1c87f864693e5ca84cc3d [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" "de464cc357d03c5933ad45cecc732a84e064662439e1c87f864693e5ca84cc3d", kill_on_drop: false }` [INFO] [stderr] Compiling rust-token v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `encrypt_secret_and_hash` [INFO] [stdout] --> src/tokens/secret.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn encrypt_secret_and_hash(secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encrypt_secret` [INFO] [stdout] --> src/tokens/secret.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn encrypt_secret(secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_secret` [INFO] [stdout] --> src/tokens/secret.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn hash_secret(secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_with_snowflake` [INFO] [stdout] --> src/tokens/token.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn create_with_snowflake(&mut self, snowflake: i64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "de464cc357d03c5933ad45cecc732a84e064662439e1c87f864693e5ca84cc3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de464cc357d03c5933ad45cecc732a84e064662439e1c87f864693e5ca84cc3d", kill_on_drop: false }` [INFO] [stdout] de464cc357d03c5933ad45cecc732a84e064662439e1c87f864693e5ca84cc3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c371c1bfa6f0ec6f4d8df9ad4af33ecf1856be80cb4e6491dfa1fe71530e43c2 [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" "c371c1bfa6f0ec6f4d8df9ad4af33ecf1856be80cb4e6491dfa1fe71530e43c2", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `encrypt_secret_and_hash` [INFO] [stderr] --> src/tokens/secret.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn encrypt_secret_and_hash(secret: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `encrypt_secret` [INFO] [stderr] --> src/tokens/secret.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn encrypt_secret(secret: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `hash_secret` [INFO] [stderr] --> src/tokens/secret.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn hash_secret(secret: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create_with_snowflake` [INFO] [stderr] --> src/tokens/token.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn create_with_snowflake(&mut self, snowflake: i64) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-token` (bin "rust-token" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_token-a1d9059b5bac1d66) [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] running `Command { std: "docker" "inspect" "c371c1bfa6f0ec6f4d8df9ad4af33ecf1856be80cb4e6491dfa1fe71530e43c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c371c1bfa6f0ec6f4d8df9ad4af33ecf1856be80cb4e6491dfa1fe71530e43c2", kill_on_drop: false }` [INFO] [stdout] c371c1bfa6f0ec6f4d8df9ad4af33ecf1856be80cb4e6491dfa1fe71530e43c2