[INFO] fetching crate lyneate 0.2.1... [INFO] testing lyneate-0.2.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lyneate 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate lyneate 0.2.1 [INFO] finished tweaking crates.io crate lyneate 0.2.1 [INFO] tweaked toml for crates.io crate lyneate 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lyneate 0.2.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lyneate 0.2.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3075c935a51396cad9781c9975460cfff17a9a2283feeac9d6fb9c499f2ce828 [INFO] running `Command { std: "docker" "start" "-a" "3075c935a51396cad9781c9975460cfff17a9a2283feeac9d6fb9c499f2ce828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3075c935a51396cad9781c9975460cfff17a9a2283feeac9d6fb9c499f2ce828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3075c935a51396cad9781c9975460cfff17a9a2283feeac9d6fb9c499f2ce828", kill_on_drop: false }` [INFO] [stdout] 3075c935a51396cad9781c9975460cfff17a9a2283feeac9d6fb9c499f2ce828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bed049442aae7478d63ffe8ddda4e9a57bd9cc5db9b3408f38076c73bac021ab [INFO] running `Command { std: "docker" "start" "-a" "bed049442aae7478d63ffe8ddda4e9a57bd9cc5db9b3408f38076c73bac021ab", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling widestring v1.0.2 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling lyneate v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/theme.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 47 | pub struct ThemeEffects { [INFO] [stdout] 48 | pub line_numbers: fn(&str) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/theme.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub unhighlighted: fn(&str) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "bed049442aae7478d63ffe8ddda4e9a57bd9cc5db9b3408f38076c73bac021ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed049442aae7478d63ffe8ddda4e9a57bd9cc5db9b3408f38076c73bac021ab", kill_on_drop: false }` [INFO] [stdout] bed049442aae7478d63ffe8ddda4e9a57bd9cc5db9b3408f38076c73bac021ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54aa24ed30716d8620cda873aa2d6532cbfded1e7cb6096904fcefbb453c170c [INFO] running `Command { std: "docker" "start" "-a" "54aa24ed30716d8620cda873aa2d6532cbfded1e7cb6096904fcefbb453c170c", kill_on_drop: false }` [INFO] [stderr] Compiling lyneate v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/theme.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 47 | pub struct ThemeEffects { [INFO] [stdout] 48 | pub line_numbers: fn(&str) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/theme.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub unhighlighted: fn(&str) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/theme.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 47 | pub struct ThemeEffects { [INFO] [stdout] 48 | pub line_numbers: fn(&str) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/theme.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | pub unhighlighted: fn(&str) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "54aa24ed30716d8620cda873aa2d6532cbfded1e7cb6096904fcefbb453c170c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54aa24ed30716d8620cda873aa2d6532cbfded1e7cb6096904fcefbb453c170c", kill_on_drop: false }` [INFO] [stdout] 54aa24ed30716d8620cda873aa2d6532cbfded1e7cb6096904fcefbb453c170c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f513fe90e57a4cf2d9f521ca3a123e62a495eadcf6c7377542aad747c4acb9eb [INFO] running `Command { std: "docker" "start" "-a" "f513fe90e57a4cf2d9f521ca3a123e62a495eadcf6c7377542aad747c4acb9eb", kill_on_drop: false }` [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/theme.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] 47 | pub struct ThemeEffects { [INFO] [stderr] 48 | pub line_numbers: fn(&str) -> String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/theme.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 49 | pub unhighlighted: fn(&str) -> String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: `lyneate` (lib) generated 2 warnings [INFO] [stderr] warning: `lyneate` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lyneate-30e9c9f554765ad5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests lyneate [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/theme.rs - theme::ThemeChars (line 5) ... FAILED [INFO] [stdout] test src/span.rs - span::SpanOverlay (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/theme.rs - theme::ThemeChars (line 5) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ThemeChars` in this scope [INFO] [stdout] --> src/theme.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | ThemeChars { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use lyneate::ThemeChars; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/span.rs - span::SpanOverlay (line 70) stdout ---- [INFO] [stdout] error[E0599]: no method named `overlay` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> src/span.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!((10usize..15).overlay(13..17), SpanOverlay::Single(10..13)); [INFO] [stdout] | ^^^^^^^ method not found in `std::ops::Range` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SpanOverlay` in this scope [INFO] [stdout] --> src/span.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!((10usize..15).overlay(13..17), SpanOverlay::Single(10..13)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SpanOverlay` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `overlay` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> src/span.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!((10usize..15).overlay(6..12), SpanOverlay::Single(12..15)); [INFO] [stdout] | ^^^^^^^ method not found in `std::ops::Range` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SpanOverlay` in this scope [INFO] [stdout] --> src/span.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!((10usize..15).overlay(6..12), SpanOverlay::Single(12..15)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SpanOverlay` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `overlay` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> src/span.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | (10usize..15).overlay(12..13), [INFO] [stdout] | ^^^^^^^ method not found in `std::ops::Range` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SpanOverlay` in this scope [INFO] [stdout] --> src/span.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | SpanOverlay::Double(10..12, 13..15) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SpanOverlay` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: couldn't read `src/basic.pseudo`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | include_str!("basic.pseudo"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/span.rs - span::SpanOverlay (line 70) [INFO] [stdout] src/theme.rs - theme::ThemeChars (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f513fe90e57a4cf2d9f521ca3a123e62a495eadcf6c7377542aad747c4acb9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f513fe90e57a4cf2d9f521ca3a123e62a495eadcf6c7377542aad747c4acb9eb", kill_on_drop: false }` [INFO] [stdout] f513fe90e57a4cf2d9f521ca3a123e62a495eadcf6c7377542aad747c4acb9eb