[INFO] fetching crate lyneate 0.2.1... [INFO] testing lyneate-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate lyneate 0.2.1 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lyneate 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 519328cb7df3c0dcfe2fd12070ae2e0c944330d283f43633b94cf3412444108c [INFO] running `Command { std: "docker" "start" "-a" "519328cb7df3c0dcfe2fd12070ae2e0c944330d283f43633b94cf3412444108c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "519328cb7df3c0dcfe2fd12070ae2e0c944330d283f43633b94cf3412444108c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519328cb7df3c0dcfe2fd12070ae2e0c944330d283f43633b94cf3412444108c", kill_on_drop: false }` [INFO] [stdout] 519328cb7df3c0dcfe2fd12070ae2e0c944330d283f43633b94cf3412444108c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42e74692b6a613bff1193f7938ed2783d396bdf0479a5621ec9638766b3d8876 [INFO] running `Command { std: "docker" "start" "-a" "42e74692b6a613bff1193f7938ed2783d396bdf0479a5621ec9638766b3d8876", 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.35s [INFO] running `Command { std: "docker" "inspect" "42e74692b6a613bff1193f7938ed2783d396bdf0479a5621ec9638766b3d8876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e74692b6a613bff1193f7938ed2783d396bdf0479a5621ec9638766b3d8876", kill_on_drop: false }` [INFO] [stdout] 42e74692b6a613bff1193f7938ed2783d396bdf0479a5621ec9638766b3d8876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b1dcd79d78db86553d75452998b1856a76d792a0c918bf2b0a8b5b4411da0d8 [INFO] running `Command { std: "docker" "start" "-a" "7b1dcd79d78db86553d75452998b1856a76d792a0c918bf2b0a8b5b4411da0d8", 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.91s [INFO] running `Command { std: "docker" "inspect" "7b1dcd79d78db86553d75452998b1856a76d792a0c918bf2b0a8b5b4411da0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1dcd79d78db86553d75452998b1856a76d792a0c918bf2b0a8b5b4411da0d8", kill_on_drop: false }` [INFO] [stdout] 7b1dcd79d78db86553d75452998b1856a76d792a0c918bf2b0a8b5b4411da0d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9cb123bd077f37d40e5d8473ed748d9db774e9ead8d049a8f654ca0aba9675c [INFO] running `Command { std: "docker" "start" "-a" "e9cb123bd077f37d40e5d8473ed748d9db774e9ead8d049a8f654ca0aba9675c", 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] [stdout] [INFO] [stderr] --> src/theme.rs:48:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 46 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stdout] [INFO] [stderr] 47 | pub struct ThemeEffects { [INFO] [stdout] [INFO] [stderr] 48 | pub line_numbers: fn(&str) -> String, [INFO] [stdout] running 3 tests [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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lyneate-c4fd7b87456e775d) [INFO] [stderr] Doc-tests lyneate [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/theme.rs - theme::ThemeChars (line 5) ... FAILED [INFO] [stdout] test src/span.rs - span::SpanOverlay (line 70) ... 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/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] ---- 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] [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.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e9cb123bd077f37d40e5d8473ed748d9db774e9ead8d049a8f654ca0aba9675c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9cb123bd077f37d40e5d8473ed748d9db774e9ead8d049a8f654ca0aba9675c", kill_on_drop: false }` [INFO] [stdout] e9cb123bd077f37d40e5d8473ed748d9db774e9ead8d049a8f654ca0aba9675c