[INFO] fetching crate punkt 1.0.5...
[INFO] checking punkt-1.0.5 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate punkt 1.0.5 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate punkt 1.0.5 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate punkt 1.0.5
[INFO] finished tweaking crates.io crate punkt 1.0.5
[INFO] tweaked toml for crates.io crate punkt 1.0.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust-freqdist v0.1.5
[INFO] [stderr]   Downloaded phf_macros v0.7.24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d73867b6610ad02a183e06b2cdc677d5b1ca489e8ea638a9ab5092dd4514e922
[INFO] running `Command { std: "docker" "start" "-a" "d73867b6610ad02a183e06b2cdc677d5b1ca489e8ea638a9ab5092dd4514e922", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d73867b6610ad02a183e06b2cdc677d5b1ca489e8ea638a9ab5092dd4514e922", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d73867b6610ad02a183e06b2cdc677d5b1ca489e8ea638a9ab5092dd4514e922", kill_on_drop: false }`
[INFO] [stdout] d73867b6610ad02a183e06b2cdc677d5b1ca489e8ea638a9ab5092dd4514e922
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db7c7da4de064800da90ce8a9d2c1b9b795b4dcaf518b810791a65a8db6606e8
[INFO] running `Command { std: "docker" "start" "-a" "db7c7da4de064800da90ce8a9d2c1b9b795b4dcaf518b810791a65a8db6606e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking rust-freqdist v0.1.5
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking walkdir v0.1.8
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]    Compiling phf_macros v0.7.24
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]     Checking punkt v1.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 785 | / bench_trainer!(
[INFO] [stdout] 786 | |   bench_trainer_short,
[INFO] [stdout] 787 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 788 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: `#[deny(soft_unstable)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 790 | / bench_trainer!(
[INFO] [stdout] 791 | |   bench_trainer_medium,
[INFO] [stdout] 792 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 793 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 795 | / bench_trainer!(
[INFO] [stdout] 796 | |   bench_trainer_long,
[INFO] [stdout] 797 | |   include_str!("../test/raw/the-sayings-of-confucius.txt")
[INFO] [stdout] 798 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 800 | / bench_trainer!(
[INFO] [stdout] 801 | |   bench_trainer_very_long,
[INFO] [stdout] 802 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 803 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 731 | / bench_word_tokenizer!(
[INFO] [stdout] 732 | |   word_tokenizer_bench_short,
[INFO] [stdout] 733 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 734 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 736 | / bench_word_tokenizer!(
[INFO] [stdout] 737 | |   word_tokenizer_bench_medium,
[INFO] [stdout] 738 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 739 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 741 | / bench_word_tokenizer!(
[INFO] [stdout] 742 | |   word_tokenizer_bench_long,
[INFO] [stdout] 743 | |   include_str!("../test/raw/the-sayings-of-confucius.txt")
[INFO] [stdout] 744 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 746 | / bench_word_tokenizer!(
[INFO] [stdout] 747 | |   word_tokenizer_bench_very_long,
[INFO] [stdout] 748 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 749 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 769 | / bench_sentence_tokenizer!(
[INFO] [stdout] 770 | |   bench_sentence_tokenizer_train_on_document_short,
[INFO] [stdout] 771 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 772 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 774 | / bench_sentence_tokenizer!(
[INFO] [stdout] 775 | |   bench_sentence_tokenizer_train_on_document_medium,
[INFO] [stdout] 776 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 777 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 779 | / bench_sentence_tokenizer!(
[INFO] [stdout] 780 | |   bench_sentence_tokenizer_train_on_document_long,
[INFO] [stdout] 781 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 782 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:345:40
[INFO] [stdout]     |
[INFO] [stdout] 345 |         util::annotate_first_pass::<P>(&mut *(t as *const Token as *mut Token), data);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `punkt` (lib) due to 24 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:345:40
[INFO] [stdout]     |
[INFO] [stdout] 345 |         util::annotate_first_pass::<P>(&mut *(t as *const Token as *mut Token), data);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `punkt` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "db7c7da4de064800da90ce8a9d2c1b9b795b4dcaf518b810791a65a8db6606e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db7c7da4de064800da90ce8a9d2c1b9b795b4dcaf518b810791a65a8db6606e8", kill_on_drop: false }`
[INFO] [stdout] db7c7da4de064800da90ce8a9d2c1b9b795b4dcaf518b810791a65a8db6606e8
