[INFO] fetching crate typst-layout 0.13.1... [INFO] testing typst-layout-0.13.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate typst-layout 0.13.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate typst-layout 0.13.1 [INFO] finished tweaking crates.io crate typst-layout 0.13.1 [INFO] tweaked toml for crates.io crate typst-layout 0.13.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate typst-layout 0.13.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate typst-layout 0.13.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 162ea895d2876254d83a4b233fc391941cd946d650e2effe2faacc2fa6caf5e8 [INFO] running `Command { std: "docker" "start" "-a" "162ea895d2876254d83a4b233fc391941cd946d650e2effe2faacc2fa6caf5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "162ea895d2876254d83a4b233fc391941cd946d650e2effe2faacc2fa6caf5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "162ea895d2876254d83a4b233fc391941cd946d650e2effe2faacc2fa6caf5e8", kill_on_drop: false }` [INFO] [stdout] 162ea895d2876254d83a4b233fc391941cd946d650e2effe2faacc2fa6caf5e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecb79f8aac0e5f79aaec904caaeb68c72c0cf4b65f732f3a8b3d74b019aa2531 [INFO] running `Command { std: "docker" "start" "-a" "ecb79f8aac0e5f79aaec904caaeb68c72c0cf4b65f732f3a8b3d74b019aa2531", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling ttf-parser v0.24.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling wasmparser v0.221.2 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling winnow v0.7.1 [INFO] [stderr] Compiling unscanny v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling wasmi_core v0.40.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling kurbo v0.11.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling numerals v0.1.4 [INFO] [stderr] Compiling codex v0.1.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling thin-vec v0.2.13 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.3.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling unicode-ccc v0.3.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling unicode-math-class v0.1.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling fontdb v0.21.0 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling wasmi_ir v0.40.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling chinese-variant v1.1.3 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling wasmi_collections v0.40.0 [INFO] [stderr] Compiling mutate_once v0.1.1 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling imagesize v0.13.0 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling multi-stash v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling kamadak-exif v0.6.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling qcms v0.3.0 [INFO] [stderr] Compiling icu_segmenter_data v1.5.0 [INFO] [stderr] Compiling typst-assets v0.13.1 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling hypher v0.1.5 [INFO] [stderr] Compiling typst-utils v0.13.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling comemo-macros v0.4.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling typst-macros v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling chinese-number v0.7.7 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling comemo v0.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling biblatex v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lipsum v0.9.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ecow v0.2.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling rustybuzz v0.18.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling plist v1.7.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling typst-timing v0.13.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling zerotrie v0.1.3 [INFO] [stderr] Compiling citationberg v0.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling unic-langid-impl v0.9.5 [INFO] [stderr] Compiling unic-langid v0.9.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling usvg v0.43.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_provider_blob v1.5.0 [INFO] [stderr] Compiling icu_segmenter v1.5.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling two-face v0.4.3 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_provider_adapters v1.5.0 [INFO] [stderr] Compiling typst-syntax v0.13.1 [INFO] [stderr] Compiling wasmi v0.40.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hayagriva v0.8.1 [INFO] [stderr] Compiling typst-library v0.13.1 [INFO] [stderr] Compiling typst-layout v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/math/shared.rs:146:43 [INFO] [stdout] | [INFO] [stdout] 146 | .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stdout] 146 + .map_or(Abs::zero(), |(a, _)| a - row.ascent()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | let tr_values = tr.map_or_default(|tr| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | let br_values = br.map_or_default(|br| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:326:27 [INFO] [stdout] | [INFO] [stdout] 326 | let tl_pre_width = tl.map_or_default(|tl| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | let bl_pre_width = bl.map_or_default(|bl| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let t_widths = t.map_or_default(|t| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | let b_widths = b.map_or_default(|b| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | let t_shift = t.map_or_default(|t| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | let b_shift = b.map_or_default(|b| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/stretch.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | fn parts(assembly: GlyphAssembly, repeat: usize) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^ the lifetime is hidden here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 302 | fn parts(assembly: GlyphAssembly<'_>, repeat: usize) -> impl Iterator + '_ { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "ecb79f8aac0e5f79aaec904caaeb68c72c0cf4b65f732f3a8b3d74b019aa2531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb79f8aac0e5f79aaec904caaeb68c72c0cf4b65f732f3a8b3d74b019aa2531", kill_on_drop: false }` [INFO] [stdout] ecb79f8aac0e5f79aaec904caaeb68c72c0cf4b65f732f3a8b3d74b019aa2531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07ff5d0dad9f5796fd8ab04ea03102bd634f84e2e6a56dffbfd521a3afef0b80 [INFO] running `Command { std: "docker" "start" "-a" "07ff5d0dad9f5796fd8ab04ea03102bd634f84e2e6a56dffbfd521a3afef0b80", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/math/shared.rs:146:43 [INFO] [stdout] | [INFO] [stdout] 146 | .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stdout] 146 + .map_or(Abs::zero(), |(a, _)| a - row.ascent()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling typst-layout v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | let tr_values = tr.map_or_default(|tr| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | let br_values = br.map_or_default(|br| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:326:27 [INFO] [stdout] | [INFO] [stdout] 326 | let tl_pre_width = tl.map_or_default(|tl| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | let bl_pre_width = bl.map_or_default(|bl| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let t_widths = t.map_or_default(|t| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | let b_widths = b.map_or_default(|b| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | let t_shift = t.map_or_default(|t| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | let b_shift = b.map_or_default(|b| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/stretch.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | fn parts(assembly: GlyphAssembly, repeat: usize) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^ the lifetime is hidden here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 302 | fn parts(assembly: GlyphAssembly<'_>, repeat: usize) -> impl Iterator + '_ { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/math/shared.rs:146:43 [INFO] [stdout] | [INFO] [stdout] 146 | .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stdout] 146 + .map_or(Abs::zero(), |(a, _)| a - row.ascent()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | let tr_values = tr.map_or_default(|tr| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | let br_values = br.map_or_default(|br| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:326:27 [INFO] [stdout] | [INFO] [stdout] 326 | let tl_pre_width = tl.map_or_default(|tl| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | let bl_pre_width = bl.map_or_default(|bl| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let t_widths = t.map_or_default(|t| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | let b_widths = b.map_or_default(|b| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | let t_shift = t.map_or_default(|t| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/math/attach.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | let b_shift = b.map_or_default(|b| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(result_option_map_or_default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/stretch.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | fn parts(assembly: GlyphAssembly, repeat: usize) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^ the lifetime is hidden here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 302 | fn parts(assembly: GlyphAssembly<'_>, repeat: usize) -> impl Iterator + '_ { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.40s [INFO] running `Command { std: "docker" "inspect" "07ff5d0dad9f5796fd8ab04ea03102bd634f84e2e6a56dffbfd521a3afef0b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07ff5d0dad9f5796fd8ab04ea03102bd634f84e2e6a56dffbfd521a3afef0b80", kill_on_drop: false }` [INFO] [stdout] 07ff5d0dad9f5796fd8ab04ea03102bd634f84e2e6a56dffbfd521a3afef0b80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca30f8fa067c2e7e985bc74955d03a8568b3dee0c593defc4380be2bd3a130cb [INFO] running `Command { std: "docker" "start" "-a" "ca30f8fa067c2e7e985bc74955d03a8568b3dee0c593defc4380be2bd3a130cb", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/math/shared.rs:146:43 [INFO] [stderr] | [INFO] [stderr] 146 | .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 146 - .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stderr] 146 + .map_or(Abs::zero(), |(a, _)| a - row.ascent()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/math/attach.rs:296:24 [INFO] [stderr] | [INFO] [stderr] 296 | let tr_values = tr.map_or_default(|tr| { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 + #![feature(result_option_map_or_default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/math/attach.rs:304:24 [INFO] [stderr] | [INFO] [stderr] 304 | let br_values = br.map_or_default(|br| { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stderr] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 + #![feature(result_option_map_or_default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/math/attach.rs:326:27 [INFO] [stderr] | [INFO] [stderr] 326 | let tl_pre_width = tl.map_or_default(|tl| { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stderr] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 + #![feature(result_option_map_or_default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/math/attach.rs:331:27 [INFO] [stderr] | [INFO] [stderr] 331 | let bl_pre_width = bl.map_or_default(|bl| { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stderr] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 + #![feature(result_option_map_or_default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/math/attach.rs:354:22 [INFO] [stderr] | [INFO] [stderr] 354 | let t_widths = t.map_or_default(|t| { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stderr] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 + #![feature(result_option_map_or_default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/math/attach.rs:359:22 [INFO] [stderr] | [INFO] [stderr] 359 | let b_widths = b.map_or_default(|b| { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stderr] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 + #![feature(result_option_map_or_default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/math/attach.rs:381:21 [INFO] [stderr] | [INFO] [stderr] 381 | let t_shift = t.map_or_default(|t| { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stderr] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 + #![feature(result_option_map_or_default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/math/attach.rs:387:21 [INFO] [stderr] | [INFO] [stderr] 387 | let b_shift = b.map_or_default(|b| { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `map_or_default(...)` to keep using the current method [INFO] [stderr] help: add `#![feature(result_option_map_or_default)]` to the crate attributes to enable `Option::::map_or_default` [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 + #![feature(result_option_map_or_default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/math/stretch.rs:302:20 [INFO] [stderr] | [INFO] [stderr] 302 | fn parts(assembly: GlyphAssembly, repeat: usize) -> impl Iterator + '_ { [INFO] [stderr] | ^^^^^^^^^^^^^ the lifetime is hidden here ^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 302 | fn parts(assembly: GlyphAssembly<'_>, repeat: usize) -> impl Iterator + '_ { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `typst-layout` (lib) generated 10 warnings (run `cargo fix --lib -p typst-layout` to apply 2 suggestions) [INFO] [stderr] warning: `typst-layout` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/typst_layout-a9d6bbb19435752c) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test grid::lines::test::test_vline_splitting_with_gutter_and_per_cell_stroke ... ok [INFO] [stdout] test grid::lines::test::test_vline_splitting_with_gutter_and_explicit_vlines ... ok [INFO] [stdout] test grid::lines::test::test_hline_splitting_with_gutter_and_explicit_hlines ... ok [INFO] [stdout] test grid::lines::test::test_vline_splitting_without_gutter ... ok [INFO] [stdout] test grid::lines::test::test_hline_splitting_considers_absent_rows ... ok [INFO] [stdout] test grid::lines::test::test_hline_splitting_without_gutter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests typst_layout [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/math/shared.rs:146:43 [INFO] [stderr] | [INFO] [stderr] 146 | .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 146 - .map_or(Abs::zero(), |(a, _)| (a - row.ascent())) [INFO] [stderr] 146 + .map_or(Abs::zero(), |(a, _)| a - row.ascent()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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" "ca30f8fa067c2e7e985bc74955d03a8568b3dee0c593defc4380be2bd3a130cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca30f8fa067c2e7e985bc74955d03a8568b3dee0c593defc4380be2bd3a130cb", kill_on_drop: false }` [INFO] [stdout] ca30f8fa067c2e7e985bc74955d03a8568b3dee0c593defc4380be2bd3a130cb