[INFO] fetching crate lyneate 0.2.1... [INFO] testing lyneate-0.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate lyneate 0.2.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lyneate 0.2.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 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a54a50879a52d1a6d61323e315cd6f2a7dfb97eef7afe234e5f7e63236f43279 [INFO] running `Command { std: "docker" "start" "-a" "a54a50879a52d1a6d61323e315cd6f2a7dfb97eef7afe234e5f7e63236f43279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a54a50879a52d1a6d61323e315cd6f2a7dfb97eef7afe234e5f7e63236f43279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a54a50879a52d1a6d61323e315cd6f2a7dfb97eef7afe234e5f7e63236f43279", kill_on_drop: false }` [INFO] [stdout] a54a50879a52d1a6d61323e315cd6f2a7dfb97eef7afe234e5f7e63236f43279 [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=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] 28c87bba902cae330c613635f115925ebfb046698e4b5b76d6187328f535847b [INFO] running `Command { std: "docker" "start" "-a" "28c87bba902cae330c613635f115925ebfb046698e4b5b76d6187328f535847b", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling lazy_static v1.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 2.56s [INFO] running `Command { std: "docker" "inspect" "28c87bba902cae330c613635f115925ebfb046698e4b5b76d6187328f535847b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28c87bba902cae330c613635f115925ebfb046698e4b5b76d6187328f535847b", kill_on_drop: false }` [INFO] [stdout] 28c87bba902cae330c613635f115925ebfb046698e4b5b76d6187328f535847b [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=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] f965a4c8803a7ad0c973e0cc3c1c8eb2d3ed1180f209198ae330682b6e3a81ae [INFO] running `Command { std: "docker" "start" "-a" "f965a4c8803a7ad0c973e0cc3c1c8eb2d3ed1180f209198ae330682b6e3a81ae", 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 0.70s [INFO] running `Command { std: "docker" "inspect" "f965a4c8803a7ad0c973e0cc3c1c8eb2d3ed1180f209198ae330682b6e3a81ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f965a4c8803a7ad0c973e0cc3c1c8eb2d3ed1180f209198ae330682b6e3a81ae", kill_on_drop: false }` [INFO] [stdout] f965a4c8803a7ad0c973e0cc3c1c8eb2d3ed1180f209198ae330682b6e3a81ae [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=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] 76bd9808582098719cb7e794e03b76bf730c1acb386a138efa97648d90b07e36 [INFO] running `Command { std: "docker" "start" "-a" "76bd9808582098719cb7e794e03b76bf730c1acb386a138efa97648d90b07e36", 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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lyneate-c4fd7b87456e775d) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests lyneate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/span.rs - span::SpanOverlay (line 70) ... FAILED [INFO] [stdout] test src/theme.rs - theme::ThemeChars (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 14 | 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] ---- 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] 3 | 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]: failed to resolve: use of undeclared type `SpanOverlay` [INFO] [stdout] --> src/span.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 4 | 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]: failed to resolve: use of undeclared type `SpanOverlay` [INFO] [stdout] --> src/span.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 6 | (10usize..15).overlay(12..13), [INFO] [stdout] | ^^^^^^^ method not found in `std::ops::Range` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpanOverlay` [INFO] [stdout] --> src/span.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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/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] 3 | ThemeChars { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] [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.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "76bd9808582098719cb7e794e03b76bf730c1acb386a138efa97648d90b07e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76bd9808582098719cb7e794e03b76bf730c1acb386a138efa97648d90b07e36", kill_on_drop: false }` [INFO] [stdout] 76bd9808582098719cb7e794e03b76bf730c1acb386a138efa97648d90b07e36