[INFO] fetching crate rusty_lr 4.7.0... [INFO] testing rusty_lr-4.7.0 against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] extracting crate rusty_lr 4.7.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rusty_lr 4.7.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rusty_lr 4.7.0 [INFO] tweaked toml for crates.io crate rusty_lr 4.7.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty_lr 4.7.0 on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rusty_lr 4.7.0 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4 [INFO] running `Command { std: "docker" "start" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling arrayvec v0.7.7 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling rusty_lr_core v4.7.0 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling rusty_lr_parser v4.7.0 [INFO] [stderr] Compiling rusty_lr_derive v2.53.0 [INFO] [stderr] Compiling rusty_lr v4.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 10.87s [INFO] running `Command { std: "docker" "inspect" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling target-triple v1.0.1 [INFO] [stderr] Compiling winnow v1.0.4 [INFO] [stderr] Compiling toml_writer v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling glob v0.3.4 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling toml v1.1.3+spec-1.1.0 [INFO] [stderr] Compiling trybuild v1.0.118 [INFO] [stderr] Compiling rusty_lr v4.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 29.30s [INFO] running `Command { std: "docker" "inspect" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/rusty_lr-cd4e369ecd358fda) [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] [stderr] Running tests/context_clone.rs (/opt/rustwide/target/release/deps/context_clone-f4a36fd1ecacefe2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling arrayvec v0.7.7 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling rusty_lr_core v4.7.0 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling rusty_lr_parser v4.7.0 [INFO] [stderr] Compiling rusty_lr_derive v2.53.0 [INFO] [stderr] Compiling rusty_lr v4.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rusty_lr-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/rusty_lr) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.69s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/context_clone_non_clone_storage_compiles.rs [should pass] ... ok [INFO] [stderr] test tests/ui/context_clone_clone_storage_clones.rs [should pass] ... ok [INFO] [stdout] test context_clone_bounds_are_conditional ... FAILED [INFO] [stderr] test tests/ui/context_clone_non_clone_storage_fails.rs [should fail to compile] ... mismatch [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] failures: [INFO] [stderr] EXPECTED: [INFO] [stdout] [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] ---- context_clone_bounds_are_conditional stdout ---- [INFO] [stderr] error[E0277]: the trait bound `NotClone: Clone` is not satisfied [INFO] [stdout] [INFO] [stderr] --> tests/ui/context_clone_non_clone_storage_fails.rs:15:20 [INFO] [stdout] thread 'context_clone_bounds_are_conditional' (752) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.118/src/run.rs:102:13: [INFO] [stderr] | [INFO] [stdout] 1 of 3 tests failed [INFO] [stderr] 15 | assert_clone::(); [INFO] [stdout] stack backtrace: [INFO] [stderr] | ^^^^^^^^ the trait `Clone` is not implemented for `NotClone` [INFO] [stdout] 0: 0x6086ae0266d1 - <::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt [INFO] [stderr] | [INFO] [stdout] 1: 0x6086ae03cd5a - core[7c831bd917ebf35f]::fmt::write [INFO] [stderr] note: required for `__RustyLRData` to implement `Clone` [INFO] [stdout] 2: 0x6086ae02b19c - as core[7c831bd917ebf35f]::io::write::Write>::write_fmt [INFO] [stderr] --> tests/ui/context_clone_non_clone_storage_fails.rs:5:1 [INFO] [stdout] 3: 0x6086adfffba6 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0} [INFO] [stderr] | [INFO] [stdout] 4: 0x6086ae01dcf9 - std[104cf6e2632825ea]::panicking::default_hook [INFO] [stderr] 5 | / lr1! { [INFO] [stdout] 5: 0x6086adfb7000 - test[73009c9f9aebf890]::test_main_inner::::{closure#0} [INFO] [stderr] 6 | | %tokentype char; [INFO] [stdout] 6: 0x6086ae01deb2 - std[104cf6e2632825ea]::panicking::panic_with_hook [INFO] [stderr] 7 | | %start S; [INFO] [stdout] 7: 0x6086adfffc52 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0} [INFO] [stderr] ... | [INFO] [stdout] 8: 0x6086adff7d79 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] 10 | | } [INFO] [stdout] 9: 0x6086ae00084d - __rustc[b0d56fa5b193ad05]::rust_begin_unwind [INFO] [stderr] | |_^ type parameter would need to implement `Clone` [INFO] [stdout] 10: 0x6086ae03d4cc - core[7c831bd917ebf35f]::panicking::panic_fmt [INFO] [stderr] = help: consider manually implementing `Clone` to avoid undesired bounds [INFO] [stdout] 11: 0x6086adf0a603 - ::run [INFO] [stderr] = note: 1 redundant requirement hidden [INFO] [stdout] 12: 0x6086adf0d9e0 - ::drop [INFO] [stderr] = note: required for `rusty_lr::parser::deterministic::Context, SExtracter, u8>` to implement `Clone` [INFO] [stdout] 13: 0x6086adf04cd4 - >::call_once [INFO] [stderr] note: required by a bound in `assert_clone` [INFO] [stdout] 14: 0x6086adfaa2eb - test[73009c9f9aebf890]::__rust_begin_short_backtrace::, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>> [INFO] [stderr] --> tests/ui/context_clone_non_clone_storage_fails.rs:12:20 [INFO] [stdout] 15: 0x6086adfb7955 - test[73009c9f9aebf890]::run_test::{closure#0} [INFO] [stderr] | [INFO] [stdout] 16: 0x6086adfb0d14 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] 12 | fn assert_clone() {} [INFO] [stdout] 17: 0x6086adfbaab2 - ::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] | ^^^^^ required by this bound in `assert_clone` [INFO] [stdout] 18: 0x6086ae025989 - ::new::thread_start [INFO] [stderr] help: consider annotating `NotClone` with `#[derive(Clone)]` [INFO] [stdout] 19: 0x73e77aba307a - [INFO] [stderr] | [INFO] [stdout] 20: 0x73e77ac36534 - clone [INFO] [stderr] 3 + #[derive(Clone)] [INFO] [stdout] 21: 0x0 - [INFO] [stderr] 4 | struct NotClone; [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] failures: [INFO] [stderr] [INFO] [stdout] context_clone_bounds_are_conditional [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 17.18s [INFO] [stderr] error[E0277]: the trait bound `NotClone: Clone` is not satisfied [INFO] [stdout] [INFO] [stderr] --> tests/ui/context_clone_non_clone_storage_fails.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | assert_clone::(); [INFO] [stderr] | ^^^^^^^^ the trait `Clone` is not implemented for `NotClone` [INFO] [stderr] | [INFO] [stderr] note: required for `__RustyLRData` to implement `Clone` [INFO] [stderr] --> tests/ui/context_clone_non_clone_storage_fails.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lr1! { [INFO] [stderr] 6 | | %tokentype char; [INFO] [stderr] 7 | | %start S; [INFO] [stderr] ... | [INFO] [stderr] 10 | | } [INFO] [stderr] | |_^ type parameter would need to implement `Clone` [INFO] [stderr] = help: consider manually implementing `Clone` to avoid undesired bounds caused by "imperfect derives" [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: 1 redundant requirement hidden [INFO] [stderr] = note: required for `rusty_lr::parser::deterministic::Context, SExtracter, u8>` to implement `Clone` [INFO] [stderr] note: required by a bound in `assert_clone` [INFO] [stderr] --> tests/ui/context_clone_non_clone_storage_fails.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | fn assert_clone() {} [INFO] [stderr] | ^^^^^ required by this bound in `assert_clone` [INFO] [stderr] help: consider annotating `NotClone` with `#[derive(Clone)]` [INFO] [stderr] | [INFO] [stderr] 3 + #[derive(Clone)] [INFO] [stderr] 4 | struct NotClone; [INFO] [stderr] | [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: test failed, to rerun pass `--test context_clone` [INFO] running `Command { std: "docker" "inspect" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4", kill_on_drop: false }` [INFO] [stdout] 85d19571138ebc3e71e7f6801e899c95a5504a5987c2c114fc0f3863ff1e28e4