[INFO] fetching crate glsp-proc-macros2 0.2.0... [INFO] testing glsp-proc-macros2-0.2.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate glsp-proc-macros2 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate glsp-proc-macros2 0.2.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate glsp-proc-macros2 0.2.0 [INFO] finished tweaking crates.io crate glsp-proc-macros2 0.2.0 [INFO] tweaked toml for crates.io crate glsp-proc-macros2 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72f6fcb11733aacc038a67e0549cd53687f8b8f11f8ab2cc9a61fba3e473dce5 [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" "72f6fcb11733aacc038a67e0549cd53687f8b8f11f8ab2cc9a61fba3e473dce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72f6fcb11733aacc038a67e0549cd53687f8b8f11f8ab2cc9a61fba3e473dce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f6fcb11733aacc038a67e0549cd53687f8b8f11f8ab2cc9a61fba3e473dce5", kill_on_drop: false }` [INFO] [stdout] 72f6fcb11733aacc038a67e0549cd53687f8b8f11f8ab2cc9a61fba3e473dce5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f55bb7cb6c40a54aaaaf964efc36ed0b4189f0d5aee3ca06b93ede3b7de9ce9 [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" "2f55bb7cb6c40a54aaaaf964efc36ed0b4189f0d5aee3ca06b93ede3b7de9ce9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling glsp-engine v0.2.0 [INFO] [stderr] Compiling glsp-proc-macros v0.2.0 [INFO] [stderr] Compiling glsp-stdlib v0.2.0 [INFO] [stderr] Compiling glsp-proc-macros2 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "2f55bb7cb6c40a54aaaaf964efc36ed0b4189f0d5aee3ca06b93ede3b7de9ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f55bb7cb6c40a54aaaaf964efc36ed0b4189f0d5aee3ca06b93ede3b7de9ce9", kill_on_drop: false }` [INFO] [stdout] 2f55bb7cb6c40a54aaaaf964efc36ed0b4189f0d5aee3ca06b93ede3b7de9ce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--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] f3d5f703a8969d9042a876ac898eb0264e641ea2dbc65c0585a73a4e381188b1 [INFO] running `Command { std: "docker" "start" "-a" "f3d5f703a8969d9042a876ac898eb0264e641ea2dbc65c0585a73a4e381188b1", kill_on_drop: false }` [INFO] [stderr] Compiling glsp-proc-macros2 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "f3d5f703a8969d9042a876ac898eb0264e641ea2dbc65c0585a73a4e381188b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3d5f703a8969d9042a876ac898eb0264e641ea2dbc65c0585a73a4e381188b1", kill_on_drop: false }` [INFO] [stdout] f3d5f703a8969d9042a876ac898eb0264e641ea2dbc65c0585a73a4e381188b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] adbb9b9629a48edbc3e678bbd389c174fb0edb9758c223048f59148c2a134dcb [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" "adbb9b9629a48edbc3e678bbd389c174fb0edb9758c223048f59148c2a134dcb", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/glsp_proc_macros2-29445d18884afc0f) [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] Doc-tests glsp-proc-macros2 [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - compile (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - eval (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - eval (line 75) ... FAILED [INFO] [stdout] test src/lib.rs - eval (line 103) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - compile (line 22) stdout ---- [INFO] [stdout] error: cannot find macro `compile` in this scope [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | compile!["scripts/first.glsp", "scripts/second.glsp"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] glsp_proc_macros2::compile [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - eval (line 88) stdout ---- [INFO] [stdout] error: cannot find macro `eval` in this scope [INFO] [stdout] --> src/lib.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 7 | let result: Val = eval!(r#" [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] glsp_proc_macros2::eval [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Val` in this scope [INFO] [stdout] --> src/lib.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 7 | let result: Val = eval!(r#" [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use glsp::Val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let input = 100_i64; [INFO] [stdout] 4 | | let mut output = "hello".to_string(); [INFO] [stdout] 5 | | let assigned_but_not_read: f32; [INFO] [stdout] ... | [INFO] [stdout] 10 | | "#)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 11 | | } _doctest_main_src_lib_rs_88_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - eval (line 75) stdout ---- [INFO] [stdout] error: cannot find macro `eval` in this scope [INFO] [stdout] --> src/lib.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Root = eval!(r#" [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] glsp_proc_macros2::eval [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Root` in this scope [INFO] [stdout] --> src/lib.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Root = eval!(r#" [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use glsp::Root; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arr` in this scope [INFO] [stdout] --> src/lib.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Root = eval!(r#" [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use glsp::Arr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_75_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let result: Root = eval!(r#" [INFO] [stdout] 4 | | (let n (+ 1 2 3 4)) [INFO] [stdout] 5 | | (arr n n n) [INFO] [stdout] 6 | | "#)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | } _doctest_main_src_lib_rs_75_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - eval (line 103) stdout ---- [INFO] [stdout] error: cannot find macro `eval` in this scope [INFO] [stdout] --> src/lib.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 6 | let _: Val = eval!(r#" [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] glsp_proc_macros2::eval [INFO] [stdout] [INFO] [stdout] error: cannot find macro `arr` in this scope [INFO] [stdout] --> src/lib.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 4 | let glsp_arr = arr![60_u8, 120_u16, 240_u32]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] glsp::arr [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Val` in this scope [INFO] [stdout] --> src/lib.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 6 | let _: Val = eval!(r#" [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use glsp::Val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_103_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let rust_tuple = (60_u8, 120_u16, 240_u32); [INFO] [stdout] 4 | | let glsp_arr = arr![60_u8, 120_u16, 240_u32]; [INFO] [stdout] 5 | | [INFO] [stdout] ... | [INFO] [stdout] 9 | | "#)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 13 | | assert!(glsp_arr.get::(2)? == 480); [INFO] [stdout] 14 | | } _doctest_main_src_lib_rs_103_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_103_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let rust_tuple = (60_u8, 120_u16, 240_u32); [INFO] [stdout] 4 | | let glsp_arr = arr![60_u8, 120_u16, 240_u32]; [INFO] [stdout] 5 | | [INFO] [stdout] ... | [INFO] [stdout] 13 | | assert!(glsp_arr.get::(2)? == 480); [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 14 | | } _doctest_main_src_lib_rs_103_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - compile (line 22) [INFO] [stdout] src/lib.rs - eval (line 103) [INFO] [stdout] src/lib.rs - eval (line 75) [INFO] [stdout] src/lib.rs - eval (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "adbb9b9629a48edbc3e678bbd389c174fb0edb9758c223048f59148c2a134dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adbb9b9629a48edbc3e678bbd389c174fb0edb9758c223048f59148c2a134dcb", kill_on_drop: false }` [INFO] [stdout] adbb9b9629a48edbc3e678bbd389c174fb0edb9758c223048f59148c2a134dcb