[INFO] crate thiserror 1.0.9 is already in cache [INFO] checking thiserror-1.0.9 against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] extracting crate thiserror 1.0.9 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate thiserror 1.0.9 on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate thiserror 1.0.9 [INFO] finished tweaking crates.io crate thiserror 1.0.9 [INFO] tweaked toml for crates.io crate thiserror 1.0.9 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a7513cb21628a3a485d354e85300c1df9644bc90c213367279c19fea37213560 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "a7513cb21628a3a485d354e85300c1df9644bc90c213367279c19fea37213560"` [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling ref-cast-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.9 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Checking ref-cast v1.0.0 [INFO] [stderr] Checking thiserror v1.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking serde_json v1.0.46 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking trybuild v1.0.21 [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> tests/test_source.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Error, Debug)] [INFO] [stderr] | ----- this function doesn't have a `self` parameter [INFO] [stderr] ... [INFO] [stderr] 8 | source: io::Error, [INFO] [stderr] | ^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> tests/test_source.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Error, Debug)] [INFO] [stderr] | ----- this function doesn't have a `self` parameter [INFO] [stderr] ... [INFO] [stderr] 16 | io: io::Error, [INFO] [stderr] | ^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> tests/test_source.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Error, Debug)] [INFO] [stderr] | ----- this function doesn't have a `self` parameter [INFO] [stderr] ... [INFO] [stderr] 23 | source: Box, [INFO] [stderr] | ^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0424`. [INFO] [stderr] error: could not compile `thiserror`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> tests/test_path.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | #[error("failed to read '{0}'")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `thiserror`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> tests/test_error.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Error, Debug)] [INFO] [stderr] | ----- this function doesn't have a `self` parameter [INFO] [stderr] ... [INFO] [stderr] 32 | cause: io::Error, [INFO] [stderr] | ^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> tests/test_error.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Error, Debug)] [INFO] [stderr] | ----- this function doesn't have a `self` parameter [INFO] [stderr] ... [INFO] [stderr] 38 | cause: anyhow::Error, [INFO] [stderr] | ^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `source` in this scope [INFO] [stderr] --> tests/test_error.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | cause: io::Error, [INFO] [stderr] | ^^^^^ help: try: `Self::source` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0424, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0424`. [INFO] [stderr] error: could not compile `thiserror`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0424]: expected value, found module `self` [INFO] [stderr] --> tests/test_from.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Error, Debug)] [INFO] [stderr] | ----- this function doesn't have a `self` parameter [INFO] [stderr] ... [INFO] [stderr] 8 | source: io::Error, [INFO] [stderr] | ^^^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `source` in this scope [INFO] [stderr] --> tests/test_from.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | source: io::Error, [INFO] [stderr] | ^^^^^^ help: try: `Self::source` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0424, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0424`. [INFO] [stderr] error: could not compile `thiserror`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> tests/test_display.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | #[error("tuple error: {0}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> tests/test_display.rs:55:17 [INFO] [stderr] | [INFO] [stderr] 55 | #[error("tuple error: {0}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> tests/test_display.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | #[error("{0}")] [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> tests/test_display.rs:114:32 [INFO] [stderr] | [INFO] [stderr] 114 | #[error("!bool = {}", not(.0))] [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> tests/test_display.rs:147:17 [INFO] [stderr] | [INFO] [stderr] 147 | #[error("error {0}")] [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> tests/test_display.rs:159:14 [INFO] [stderr] | [INFO] [stderr] 159 | #[derive(Error, Debug)] [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> tests/test_display.rs:177:20 [INFO] [stderr] | [INFO] [stderr] 177 | #[error("{}", .0.data)] [INFO] [stderr] | ^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `thiserror`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a7513cb21628a3a485d354e85300c1df9644bc90c213367279c19fea37213560"` [INFO] running `"docker" "rm" "-f" "a7513cb21628a3a485d354e85300c1df9644bc90c213367279c19fea37213560"` [INFO] [stdout] a7513cb21628a3a485d354e85300c1df9644bc90c213367279c19fea37213560