[INFO] fetching crate toktkn 0.1.2... [INFO] checking toktkn-0.1.2 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate toktkn 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate toktkn 0.1.2 [INFO] finished tweaking crates.io crate toktkn 0.1.2 [INFO] tweaked toml for crates.io crate toktkn 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate toktkn 0.1.2 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate toktkn 0.1.2 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1896682da72612ef7cef1d746c9c16419b0d8f027812a4d8568e92de495c80aa [INFO] running `Command { std: "docker" "start" "-a" "1896682da72612ef7cef1d746c9c16419b0d8f027812a4d8568e92de495c80aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1896682da72612ef7cef1d746c9c16419b0d8f027812a4d8568e92de495c80aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1896682da72612ef7cef1d746c9c16419b0d8f027812a4d8568e92de495c80aa", kill_on_drop: false }` [INFO] [stdout] 1896682da72612ef7cef1d746c9c16419b0d8f027812a4d8568e92de495c80aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd68f03b65b2954126697591e8108fa55e3c449d32d09cfa4fd59a8bd9628768 [INFO] running `Command { std: "docker" "start" "-a" "cd68f03b65b2954126697591e8108fa55e3c449d32d09cfa4fd59a8bd9628768", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling rstest_macros v0.24.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking inventory v0.3.20 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking deunicode v1.6.1 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling pyo3-build-config v0.24.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.24.0 [INFO] [stderr] Compiling pyo3-ffi v0.24.0 [INFO] [stderr] Compiling pyo3 v0.24.0 [INFO] [stderr] Checking tqdm v0.7.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking fake v3.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking rstest v0.24.0 [INFO] [stderr] Compiling pyo3-macros v0.24.0 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking toktkn v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/bindings.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/bindings.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/bindings.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/bindings.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `l` is never read [INFO] [stdout] --> src/tokenizer.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | l.1 = Token::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `l` is never read [INFO] [stdout] --> src/tokenizer.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | l.1 = Token::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toktkn` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toktkn` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cd68f03b65b2954126697591e8108fa55e3c449d32d09cfa4fd59a8bd9628768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd68f03b65b2954126697591e8108fa55e3c449d32d09cfa4fd59a8bd9628768", kill_on_drop: false }` [INFO] [stdout] cd68f03b65b2954126697591e8108fa55e3c449d32d09cfa4fd59a8bd9628768