[INFO] fetching crate apply_attr 0.2.4... [INFO] checking apply_attr-0.2.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate apply_attr 0.2.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate apply_attr 0.2.4 [INFO] finished tweaking crates.io crate apply_attr 0.2.4 [INFO] tweaked toml for crates.io crate apply_attr 0.2.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate apply_attr 0.2.4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.9.3) [INFO] [stderr] Adding compiletest_rs v0.2.10 (available: v0.11.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fab91962856c1d2c766d32c5f10230d2cbc73f22c8ae40d719cd2be82b647b65 [INFO] running `Command { std: "docker" "start" "-a" "fab91962856c1d2c766d32c5f10230d2cbc73f22c8ae40d719cd2be82b647b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fab91962856c1d2c766d32c5f10230d2cbc73f22c8ae40d719cd2be82b647b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab91962856c1d2c766d32c5f10230d2cbc73f22c8ae40d719cd2be82b647b65", kill_on_drop: false }` [INFO] [stdout] fab91962856c1d2c766d32c5f10230d2cbc73f22c8ae40d719cd2be82b647b65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd50d165e21d2ae855a9e7b9461c668e67191ff99b0f522e8bdd2e75c44a9596 [INFO] running `Command { std: "docker" "start" "-a" "fd50d165e21d2ae855a9e7b9461c668e67191ff99b0f522e8bdd2e75c44a9596", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking compiletest_rs v0.2.10 [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test::TestPaths` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use test::TestPaths; [INFO] [stdout] | ^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `TestOpts` [INFO] [stdout] | no `TestPaths` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test::TestPaths` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/runtest.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use test::TestPaths; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `TestPaths` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 20 - use test::TestPaths; [INFO] [stdout] 20 + use test::TestOpts; [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 20 - use test::TestPaths; [INFO] [stdout] 20 + use TestPaths; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/json.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/json.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/json.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/json.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/json.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/json.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/json.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/json.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(RustcEncodable, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Diagnostic: Decodable` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/json.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | match json::decode::(line) { [INFO] [stdout] | ^^^^^^^^^^ the trait `Decodable` is not implemented for `Diagnostic` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `rustc_serialize::json::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn decode(s: &str) -> DecodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `TestOpts` has no field named `filter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/lib.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | filter: config.filter.clone(), [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 97 | filters: config.filter.clone(), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/lib.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | run_ignored: config.run_ignored, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `RunIgnored`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `TestOpts` has no field named `quiet` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/lib.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | quiet: config.quiet, [INFO] [stdout] | ^^^^^ `TestOpts` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `filters`, `force_run_in_process`, `exclude_should_panic`, `format`, `shuffle` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `TestDesc` has no field named `allow_fail` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/lib.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | allow_fail: false, [INFO] [stdout] | ^^^^^^^^^^ `TestDesc` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ignore_message`, `source_file`, `start_line`, `start_col`, `end_line` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 0 arguments, but it takes a single 0-tuple as argument [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.2.10/src/lib.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | test::DynTestFn(Box::new(move |()| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 0 arguments [INFO] [stdout] | takes a single 0-tuple as argument [INFO] [stdout] | [INFO] [stdout] help: change the closure to take multiple arguments instead of a single tuple [INFO] [stdout] | [INFO] [stdout] 263 - test::DynTestFn(Box::new(move |()| { [INFO] [stdout] 263 + test::DynTestFn(Box::new(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0462, E0560, E0593. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiletest_rs` (lib) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "fd50d165e21d2ae855a9e7b9461c668e67191ff99b0f522e8bdd2e75c44a9596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd50d165e21d2ae855a9e7b9461c668e67191ff99b0f522e8bdd2e75c44a9596", kill_on_drop: false }` [INFO] [stdout] fd50d165e21d2ae855a9e7b9461c668e67191ff99b0f522e8bdd2e75c44a9596