[INFO] fetching crate srcpos_get_derive 1.1.1... [INFO] checking srcpos_get_derive-1.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate srcpos_get_derive 1.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate srcpos_get_derive 1.1.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate srcpos_get_derive 1.1.1 [INFO] finished tweaking crates.io crate srcpos_get_derive 1.1.1 [INFO] tweaked toml for crates.io crate srcpos_get_derive 1.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded srcpos v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 288da79b34d991497d4cf8ee3b9e0375a37bf3dbc109cf278b863c4c651f0c91 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "288da79b34d991497d4cf8ee3b9e0375a37bf3dbc109cf278b863c4c651f0c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "288da79b34d991497d4cf8ee3b9e0375a37bf3dbc109cf278b863c4c651f0c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288da79b34d991497d4cf8ee3b9e0375a37bf3dbc109cf278b863c4c651f0c91", kill_on_drop: false }` [INFO] [stdout] 288da79b34d991497d4cf8ee3b9e0375a37bf3dbc109cf278b863c4c651f0c91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d66da43c5547740b94cf0c8f8e1411e001541f4636a2258cc4e0f41531eb1f36 [INFO] running `Command { std: "docker" "start" "-a" "d66da43c5547740b94cf0c8f8e1411e001541f4636a2258cc4e0f41531eb1f36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking srcpos_get_derive v1.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking srcpos v1.1.1 [INFO] [stdout] error[E0432]: unresolved import `srcpos_get` [INFO] [stdout] --> tests/test_loc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use srcpos_get::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `srcpos_get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetLoc` in this scope [INFO] [stdout] --> tests/test_loc.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(GetLoc)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `srcpos_get` [INFO] [stdout] --> tests/test_pos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use srcpos_get::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `srcpos_get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetLoc` in this scope [INFO] [stdout] --> tests/test_loc.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(GetLoc)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `loc` in this scope [INFO] [stdout] --> tests/test_loc.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[loc] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetLoc` in this scope [INFO] [stdout] --> tests/test_loc.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(GetLoc)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetLoc` in this scope [INFO] [stdout] --> tests/test_loc.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(GetLoc)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `loc` in this scope [INFO] [stdout] --> tests/test_loc.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | struct D(u8, #[loc] Loc); [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetLoc` in this scope [INFO] [stdout] --> tests/test_loc.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(GetLoc)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `loc` in this scope [INFO] [stdout] --> tests/test_loc.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | B(u8, #[loc] Loc), [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `loc` in this scope [INFO] [stdout] --> tests/test_loc.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[loc] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetLoc` in this scope [INFO] [stdout] --> tests/test_loc.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(GetLoc)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetPos` in this scope [INFO] [stdout] --> tests/test_pos.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(GetPos)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetPos` in this scope [INFO] [stdout] --> tests/test_pos.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(GetPos)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pos` in this scope [INFO] [stdout] --> tests/test_pos.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[pos] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] srcpos::pos [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetPos` in this scope [INFO] [stdout] --> tests/test_pos.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(GetPos)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetPos` in this scope [INFO] [stdout] --> tests/test_pos.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(GetPos)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pos` in this scope [INFO] [stdout] --> tests/test_pos.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | struct D(u8, #[pos] Pos); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] srcpos::pos [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetPos` in this scope [INFO] [stdout] --> tests/test_pos.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(GetPos)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pos` in this scope [INFO] [stdout] --> tests/test_pos.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | B(u8, #[pos] Pos), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::pos [INFO] [stdout] srcpos::pos [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pos` in this scope [INFO] [stdout] --> tests/test_pos.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[pos] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::pos [INFO] [stdout] srcpos::pos [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `GetPos` in this scope [INFO] [stdout] --> tests/test_pos.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(GetPos)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for struct `A` in the current scope [INFO] [stdout] --> tests/test_pos.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 5 | struct A { [INFO] [stdout] | -------- method `pos` not found for this [INFO] [stdout] ... [INFO] [stdout] 12 | let v = a.pos(); [INFO] [stdout] | ^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for struct `B` in the current scope [INFO] [stdout] --> tests/test_pos.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 17 | struct B { [INFO] [stdout] | -------- method `pos` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | let v = b.pos(); [INFO] [stdout] | ^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `loc` found for struct `A` in the current scope [INFO] [stdout] --> tests/test_loc.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 5 | struct A { [INFO] [stdout] | -------- method `loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 14 | let v = a.loc(); [INFO] [stdout] | ^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for struct `C` in the current scope [INFO] [stdout] --> tests/test_pos.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 30 | struct C(Pos); [INFO] [stdout] | -------------- method `pos` not found for this [INFO] [stdout] ... [INFO] [stdout] 35 | let v = c.pos(); [INFO] [stdout] | ^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `loc` found for struct `B` in the current scope [INFO] [stdout] --> tests/test_loc.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 19 | struct B { [INFO] [stdout] | -------- method `loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | let v = b.loc(); [INFO] [stdout] | ^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `loc` found for struct `C` in the current scope [INFO] [stdout] --> tests/test_loc.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 34 | struct C(Loc); [INFO] [stdout] | -------------- method `loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 39 | let v = c.loc(); [INFO] [stdout] | ^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for struct `D` in the current scope [INFO] [stdout] --> tests/test_pos.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 40 | struct D(u8, #[pos] Pos); [INFO] [stdout] | ------------------------- method `pos` not found for this [INFO] [stdout] ... [INFO] [stdout] 45 | let v = d.pos(); [INFO] [stdout] | ^^^ method not found in `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `loc` found for struct `D` in the current scope [INFO] [stdout] --> tests/test_loc.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 44 | struct D(u8, #[loc] Loc); [INFO] [stdout] | ------------------------- method `loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 49 | let v = d.loc(); [INFO] [stdout] | ^^^ method not found in `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `loc` found for enum `E` in the current scope [INFO] [stdout] --> tests/test_loc.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 54 | enum E { [INFO] [stdout] | ------ method `loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 70 | let v = e.loc(); [INFO] [stdout] | ^^^ method not found in `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for enum `E` in the current scope [INFO] [stdout] --> tests/test_pos.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 50 | enum E { [INFO] [stdout] | ------ method `pos` not found for this [INFO] [stdout] ... [INFO] [stdout] 66 | let v = e.pos(); [INFO] [stdout] | ^^^ method not found in `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `loc` found for enum `E` in the current scope [INFO] [stdout] --> tests/test_loc.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 54 | enum E { [INFO] [stdout] | ------ method `loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 77 | let v = e.loc(); [INFO] [stdout] | ^^^ method not found in `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `srcpos_get_derive` [INFO] [stdout] error[E0599]: no method named `loc` found for enum `E` in the current scope [INFO] [stdout] --> tests/test_loc.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 54 | enum E { [INFO] [stdout] | ------ method `loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 86 | let v = e.loc(); [INFO] [stdout] | ^^^ method not found in `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0599]: no method named `loc` found for enum `E` in the current scope [INFO] [stdout] --> tests/test_loc.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 54 | enum E { [INFO] [stdout] | ------ method `loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 96 | let v = e.loc(); [INFO] [stdout] | ^^^ method not found in `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0599]: no method named `loc` found for struct `F` in the current scope [INFO] [stdout] --> tests/test_loc.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 101 | struct F(Box); [INFO] [stdout] | ------------------- method `loc` not found for this [INFO] [stdout] ... [INFO] [stdout] 106 | let v = f.loc(); [INFO] [stdout] | ^^^ method not found in `F` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for enum `E` in the current scope [INFO] [stdout] --> tests/test_pos.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 50 | enum E { [INFO] [stdout] | ------ method `pos` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | let v = e.pos(); [INFO] [stdout] | ^^^ method not found in `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for enum `E` in the current scope [INFO] [stdout] --> tests/test_pos.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 50 | enum E { [INFO] [stdout] | ------ method `pos` not found for this [INFO] [stdout] ... [INFO] [stdout] 80 | let v = e.pos(); [INFO] [stdout] | ^^^ method not found in `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for enum `E` in the current scope [INFO] [stdout] --> tests/test_pos.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 50 | enum E { [INFO] [stdout] | ------ method `pos` not found for this [INFO] [stdout] ... [INFO] [stdout] 90 | let v = e.pos(); [INFO] [stdout] | ^^^ method not found in `E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pos` found for struct `F` in the current scope [INFO] [stdout] --> tests/test_pos.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 95 | struct F(Box); [INFO] [stdout] | ------------------- method `pos` not found for this [INFO] [stdout] ... [INFO] [stdout] 100 | let v = f.pos(); [INFO] [stdout] | ^^^ method not found in `F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d66da43c5547740b94cf0c8f8e1411e001541f4636a2258cc4e0f41531eb1f36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66da43c5547740b94cf0c8f8e1411e001541f4636a2258cc4e0f41531eb1f36", kill_on_drop: false }` [INFO] [stdout] d66da43c5547740b94cf0c8f8e1411e001541f4636a2258cc4e0f41531eb1f36