[INFO] cloning repository https://github.com/ptondereau/ext-redlock-php [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ptondereau/ext-redlock-php" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptondereau%2Fext-redlock-php", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptondereau%2Fext-redlock-php'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 097628ec41049360ba54f817327b818b8ded65eb [INFO] testing ptondereau/ext-redlock-php against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptondereau%2Fext-redlock-php" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ptondereau/ext-redlock-php on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ptondereau/ext-redlock-php [INFO] finished tweaking git repo https://github.com/ptondereau/ext-redlock-php [INFO] tweaked toml for git repo https://github.com/ptondereau/ext-redlock-php written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ptondereau/ext-redlock-php already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97e51fe83f26d282b64a5ec3d8b72166ae6c75e6a845750da399b7ae2120e97a [INFO] running `Command { std: "docker" "start" "-a" "97e51fe83f26d282b64a5ec3d8b72166ae6c75e6a845750da399b7ae2120e97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97e51fe83f26d282b64a5ec3d8b72166ae6c75e6a845750da399b7ae2120e97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97e51fe83f26d282b64a5ec3d8b72166ae6c75e6a845750da399b7ae2120e97a", kill_on_drop: false }` [INFO] [stdout] 97e51fe83f26d282b64a5ec3d8b72166ae6c75e6a845750da399b7ae2120e97a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2dcf17d74dc695fc82f15df1544c6f5affdf5bf07c6f3539ac0d1dc0191302e [INFO] running `Command { std: "docker" "start" "-a" "d2dcf17d74dc695fc82f15df1544c6f5affdf5bf07c6f3539ac0d1dc0191302e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling clang-sys v1.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling combine v4.6.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ext-php-rs-derive v0.7.4 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling cargo-php v0.1.4 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling dialoguer v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling ext-php-rs v0.7.4 [INFO] [stderr] Compiling redis v0.21.5 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling redlock v1.2.0-alpha.0 (https://github.com/ptondereau/redlock-rs?rev=e76d648#e76d6486) [INFO] [stderr] Compiling ext-redlock-php v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { FAILED_TO_ACQUIRE_LOCK.replace(ce_aquire_lock) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe { FAILED_TO_UNLOCK.replace(ce_unlock) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "d2dcf17d74dc695fc82f15df1544c6f5affdf5bf07c6f3539ac0d1dc0191302e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2dcf17d74dc695fc82f15df1544c6f5affdf5bf07c6f3539ac0d1dc0191302e", kill_on_drop: false }` [INFO] [stdout] d2dcf17d74dc695fc82f15df1544c6f5affdf5bf07c6f3539ac0d1dc0191302e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e912d6fd1834a62e34c5f33de748e041020bc539c154377552206ee208639999 [INFO] running `Command { std: "docker" "start" "-a" "e912d6fd1834a62e34c5f33de748e041020bc539c154377552206ee208639999", kill_on_drop: false }` [INFO] [stderr] Compiling ext-redlock-php v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { FAILED_TO_ACQUIRE_LOCK.replace(ce_aquire_lock) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe { FAILED_TO_UNLOCK.replace(ce_unlock) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "e912d6fd1834a62e34c5f33de748e041020bc539c154377552206ee208639999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e912d6fd1834a62e34c5f33de748e041020bc539c154377552206ee208639999", kill_on_drop: false }` [INFO] [stdout] e912d6fd1834a62e34c5f33de748e041020bc539c154377552206ee208639999 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e78408d9448dbf630f6528a945692713d2118e5d2227e3dbe731998e9d959981 [INFO] running `Command { std: "docker" "start" "-a" "e78408d9448dbf630f6528a945692713d2118e5d2227e3dbe731998e9d959981", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:140:14 [INFO] [stderr] | [INFO] [stderr] 140 | unsafe { FAILED_TO_ACQUIRE_LOCK.replace(ce_aquire_lock) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:145:14 [INFO] [stderr] | [INFO] [stderr] 145 | unsafe { FAILED_TO_UNLOCK.replace(ce_unlock) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `ext-redlock-php` (lib test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ext_redlock_php-50fcdf95506818e5) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e78408d9448dbf630f6528a945692713d2118e5d2227e3dbe731998e9d959981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e78408d9448dbf630f6528a945692713d2118e5d2227e3dbe731998e9d959981", kill_on_drop: false }` [INFO] [stdout] e78408d9448dbf630f6528a945692713d2118e5d2227e3dbe731998e9d959981