[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 beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fptondereau%2Fext-redlock-php" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ptondereau/ext-redlock-php on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-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-1-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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/ptondereau/redlock-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ext-php-rs-derive v0.7.4 [INFO] [stderr] Downloaded ext-php-rs v0.7.4 [INFO] [stderr] Downloaded cargo-php v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c9b1df401921cb5b902d5701cad29a0faeb23f3c25e5f762706f66c2a3d00c4 [INFO] running `Command { std: "docker" "start" "-a" "1c9b1df401921cb5b902d5701cad29a0faeb23f3c25e5f762706f66c2a3d00c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c9b1df401921cb5b902d5701cad29a0faeb23f3c25e5f762706f66c2a3d00c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c9b1df401921cb5b902d5701cad29a0faeb23f3c25e5f762706f66c2a3d00c4", kill_on_drop: false }` [INFO] [stdout] 1c9b1df401921cb5b902d5701cad29a0faeb23f3c25e5f762706f66c2a3d00c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07c4d09761dc5836be1db2429408589899e0a8a2c7fb9f1ef2f61c36bca413a4 [INFO] running `Command { std: "docker" "start" "-a" "07c4d09761dc5836be1db2429408589899e0a8a2c7fb9f1ef2f61c36bca413a4", 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 glob v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling clang-sys v1.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [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 itoa v1.0.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling combine v4.6.4 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling cargo-php v0.1.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling dialoguer v0.9.0 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling ext-php-rs-derive v0.7.4 [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 redlock v1.2.0-alpha.0 (https://github.com/ptondereau/redlock-rs?rev=e76d648#e76d6486) [INFO] [stderr] Compiling cargo_metadata v0.14.2 [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 34.10s [INFO] running `Command { std: "docker" "inspect" "07c4d09761dc5836be1db2429408589899e0a8a2c7fb9f1ef2f61c36bca413a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c4d09761dc5836be1db2429408589899e0a8a2c7fb9f1ef2f61c36bca413a4", kill_on_drop: false }` [INFO] [stdout] 07c4d09761dc5836be1db2429408589899e0a8a2c7fb9f1ef2f61c36bca413a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 589d460efefda43536053dae20f153083fa79665e5f0ddaa8014d7778d1b25f7 [INFO] running `Command { std: "docker" "start" "-a" "589d460efefda43536053dae20f153083fa79665e5f0ddaa8014d7778d1b25f7", 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.53s [INFO] running `Command { std: "docker" "inspect" "589d460efefda43536053dae20f153083fa79665e5f0ddaa8014d7778d1b25f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "589d460efefda43536053dae20f153083fa79665e5f0ddaa8014d7778d1b25f7", kill_on_drop: false }` [INFO] [stdout] 589d460efefda43536053dae20f153083fa79665e5f0ddaa8014d7778d1b25f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ae3114d3940f4b8beb484890d30ea3e0bb6a844a7e5e2171b35b35ae996f7c2 [INFO] running `Command { std: "docker" "start" "-a" "5ae3114d3940f4b8beb484890d30ea3e0bb6a844a7e5e2171b35b35ae996f7c2", 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ext_redlock_php-75cedb5c6dc4431f) [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" "5ae3114d3940f4b8beb484890d30ea3e0bb6a844a7e5e2171b35b35ae996f7c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ae3114d3940f4b8beb484890d30ea3e0bb6a844a7e5e2171b35b35ae996f7c2", kill_on_drop: false }` [INFO] [stdout] 5ae3114d3940f4b8beb484890d30ea3e0bb6a844a7e5e2171b35b35ae996f7c2