[INFO] fetching crate glib-macros 0.10.1... [INFO] checking glib-macros-0.10.1 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate glib-macros 0.10.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate glib-macros 0.10.1 on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate glib-macros 0.10.1 [INFO] finished tweaking crates.io crate glib-macros 0.10.1 [INFO] tweaked toml for crates.io crate glib-macros 0.10.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c82084ee9e1e53df819719e6c08f1a62a66398c8de1a9bbb69088917e584f21 [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" "5c82084ee9e1e53df819719e6c08f1a62a66398c8de1a9bbb69088917e584f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c82084ee9e1e53df819719e6c08f1a62a66398c8de1a9bbb69088917e584f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c82084ee9e1e53df819719e6c08f1a62a66398c8de1a9bbb69088917e584f21", kill_on_drop: false }` [INFO] [stdout] 5c82084ee9e1e53df819719e6c08f1a62a66398c8de1a9bbb69088917e584f21 [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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3718bad77b6080146d0e43de71704ffa201a151850e9c77ed3bfb9ce9d0749fb [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" "3718bad77b6080146d0e43de71704ffa201a151850e9c77ed3bfb9ce9d0749fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Checking proc-macro2 v1.0.27 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking heck v0.3.2 [INFO] [stderr] Checking proc-macro-crate v0.1.5 [INFO] [stderr] Checking glib-macros v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking glib v0.9.3 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | enum MyFlags { [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(MyFlags::A.bits(), 1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(MyFlags::B.bits(), 2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(MyFlags::AB.bits(), 3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(MyFlags::empty().to_glib(), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(MyFlags::A.to_glib(), 1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(MyFlags::B.to_glib(), 2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(MyFlags::AB.to_glib(), 3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(MyFlags::from_glib(0), MyFlags::empty()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(MyFlags::from_glib(0), MyFlags::empty()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(MyFlags::from_glib(1), MyFlags::A); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(MyFlags::from_glib(1), MyFlags::A); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(MyFlags::from_glib(2), MyFlags::B); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(MyFlags::from_glib(2), MyFlags::B); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | assert_eq!(MyFlags::from_glib(3), MyFlags::AB); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 123 | assert_eq!(MyFlags::from_glib(3), MyFlags::AB); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | MyFlags::empty().to_value().get::(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | Ok(Some(MyFlags::empty())) [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(MyFlags::A.to_value().get::(), Ok(Some(MyFlags::A))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:129:64 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(MyFlags::A.to_value().get::(), Ok(Some(MyFlags::A))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(MyFlags::B.to_value().get::(), Ok(Some(MyFlags::B))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:130:64 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(MyFlags::B.to_value().get::(), Ok(Some(MyFlags::B))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | MyFlags::AB.to_value().get::(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(Some(MyFlags::AB)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyFlags` [INFO] [stdout] --> tests/test.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let t = MyFlags::static_type(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `MyFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyFlags` in this scope [INFO] [stdout] --> tests/test.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | enum MyFlags { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyFlags` in this scope [INFO] [stdout] --> tests/test.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 99 | fn attr_gflags() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 126 | MyFlags::empty().to_value().get::(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyFlags` in this scope [INFO] [stdout] --> tests/test.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 99 | fn attr_gflags() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 129 | assert_eq!(MyFlags::A.to_value().get::(), Ok(Some(MyFlags::A))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyFlags` in this scope [INFO] [stdout] --> tests/test.rs:130:44 [INFO] [stdout] | [INFO] [stdout] 99 | fn attr_gflags() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 130 | assert_eq!(MyFlags::B.to_value().get::(), Ok(Some(MyFlags::B))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyFlags` in this scope [INFO] [stdout] --> tests/test.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 99 | fn attr_gflags() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 132 | MyFlags::AB.to_value().get::(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: crate `bitflags` is private [INFO] [stdout] --> tests/test.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | #[gflags("MyFlags")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ private crate [INFO] [stdout] | [INFO] [stdout] note: the crate `bitflags` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glib-0.9.3/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glib-macros` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3718bad77b6080146d0e43de71704ffa201a151850e9c77ed3bfb9ce9d0749fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3718bad77b6080146d0e43de71704ffa201a151850e9c77ed3bfb9ce9d0749fb", kill_on_drop: false }` [INFO] [stdout] 3718bad77b6080146d0e43de71704ffa201a151850e9c77ed3bfb9ce9d0749fb