[INFO] fetching crate pbni-codegen 0.1.0... [INFO] testing pbni-codegen-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate pbni-codegen 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate pbni-codegen 0.1.0 [INFO] finished tweaking crates.io crate pbni-codegen 0.1.0 [INFO] tweaked toml for crates.io crate pbni-codegen 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pbni-codegen 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `pbni_codegen` library target) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d65349d0dca3173716c3fe05d541b0b42c2a8b694d4d30062341ae0399f600ff [INFO] running `Command { std: "docker" "start" "-a" "d65349d0dca3173716c3fe05d541b0b42c2a8b694d4d30062341ae0399f600ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d65349d0dca3173716c3fe05d541b0b42c2a8b694d4d30062341ae0399f600ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d65349d0dca3173716c3fe05d541b0b42c2a8b694d4d30062341ae0399f600ff", kill_on_drop: false }` [INFO] [stdout] d65349d0dca3173716c3fe05d541b0b42c2a8b694d4d30062341ae0399f600ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f19f7497a74581b37225143b0ab8c36af51f7a94424cc22164466a4d9c5f2576 [INFO] running `Command { std: "docker" "start" "-a" "f19f7497a74581b37225143b0ab8c36af51f7a94424cc22164466a4d9c5f2576", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `pbni_codegen` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pbni-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.61s [INFO] running `Command { std: "docker" "inspect" "f19f7497a74581b37225143b0ab8c36af51f7a94424cc22164466a4d9c5f2576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f19f7497a74581b37225143b0ab8c36af51f7a94424cc22164466a4d9c5f2576", kill_on_drop: false }` [INFO] [stdout] f19f7497a74581b37225143b0ab8c36af51f7a94424cc22164466a4d9c5f2576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07a3c9febf935d6c4d16e3e49945777b20dcb9781ee9fb89567c253ebcd6bbd1 [INFO] running `Command { std: "docker" "start" "-a" "07a3c9febf935d6c4d16e3e49945777b20dcb9781ee9fb89567c253ebcd6bbd1", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `pbni_codegen` library target) [INFO] [stderr] Compiling pbni-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "07a3c9febf935d6c4d16e3e49945777b20dcb9781ee9fb89567c253ebcd6bbd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a3c9febf935d6c4d16e3e49945777b20dcb9781ee9fb89567c253ebcd6bbd1", kill_on_drop: false }` [INFO] [stdout] 07a3c9febf935d6c4d16e3e49945777b20dcb9781ee9fb89567c253ebcd6bbd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c7212080912187e7f650089672c128b3e30e32fc715a68cb601378b1ecd787f [INFO] running `Command { std: "docker" "start" "-a" "0c7212080912187e7f650089672c128b3e30e32fc715a68cb601378b1ecd787f", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `pbni_codegen` library target) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pbni_codegen-568055f4902fe5fc) [INFO] [stdout] [INFO] [stdout] running 0 tests [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 pbni_codegen [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - method (line 221) - compile ... FAILED [INFO] [stdout] test src/lib.rs - constructor (line 199) - compile ... FAILED [INFO] [stdout] test src/lib.rs - nonvisualobject (line 99) - compile ... FAILED [INFO] [stdout] test src/lib.rs - global_function (line 16) - compile ... FAILED [INFO] [stdout] test src/lib.rs - event (line 243) - compile ... FAILED [INFO] [stdout] test src/lib.rs - visualobject (line 165) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - method (line 221) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 4 | fn hello(&self, world: String) -> String { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `method` in this scope [INFO] [stdout] --> src/lib.rs:222:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[method(name="of_Hello")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - constructor (line 199) stdout ---- [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 4 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RustObject` in this scope [INFO] [stdout] --> src/lib.rs:201:49 [INFO] [stdout] | [INFO] [stdout] 4 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RustObject` in this scope [INFO] [stdout] --> src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 5 | RustObject { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - nonvisualobject (line 99) stdout ---- [INFO] [stdout] error: cannot find attribute `nonvisualobject` in this scope [INFO] [stdout] --> src/lib.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[nonvisualobject(name = "n_pbni_child", inherit = "parent")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::nonvisualobject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `method` in this scope [INFO] [stdout] --> src/lib.rs:135:7 [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] 38 | #[method(name="of_Foo")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nonvisualobject` in this scope [INFO] [stdout] --> src/lib.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[nonvisualobject(name = "n_pbni")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::nonvisualobject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `method` in this scope [INFO] [stdout] --> src/lib.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[method(name="of_Hello")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 4 | session: Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 5 | ctx: ContextObject [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(session: Session, ctx: ContextObject) -> RustChildObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(session: Session, ctx: ContextObject) -> RustChildObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - global_function (line 16) stdout ---- [INFO] [stdout] error: cannot find attribute `global_function` in this scope [INFO] [stdout] --> src/lib.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[global_function(name = "gf_bitor")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::global_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn bit_or(session: Session, a: pblong, b: pblong) -> pblong { a | b } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `pblong` in this scope [INFO] [stdout] --> src/lib.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn bit_or(session: Session, a: pblong, b: pblong) -> pblong { a | b } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `pblong` in this scope [INFO] [stdout] --> src/lib.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn bit_or(session: Session, a: pblong, b: pblong) -> pblong { a | b } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `pblong` in this scope [INFO] [stdout] --> src/lib.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 4 | fn bit_or(session: Session, a: pblong, b: pblong) -> pblong { a | b } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - event (line 243) stdout ---- [INFO] [stdout] error: cannot find attribute `nonvisualobject` in this scope [INFO] [stdout] --> src/lib.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[nonvisualobject(name = "n_pbni")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::nonvisualobject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:255:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:262:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[event(name="onFire")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 4 | session: Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 5 | ctx: ContextObject [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 9 | fn context_mut(&mut self) -> &mut ContextObject { &mut self.ctx } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - visualobject (line 165) stdout ---- [INFO] [stdout] error: cannot find attribute `visualobject` in this scope [INFO] [stdout] --> src/lib.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[visualobject(name = "u_canvas")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::visualobject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:173:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `method` in this scope [INFO] [stdout] --> src/lib.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[method(name="of_Hello")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 4 | session: Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 5 | ctx: ContextObject [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:174:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - constructor (line 199) [INFO] [stdout] src/lib.rs - event (line 243) [INFO] [stdout] src/lib.rs - global_function (line 16) [INFO] [stdout] src/lib.rs - method (line 221) [INFO] [stdout] src/lib.rs - nonvisualobject (line 99) [INFO] [stdout] src/lib.rs - visualobject (line 165) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0c7212080912187e7f650089672c128b3e30e32fc715a68cb601378b1ecd787f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7212080912187e7f650089672c128b3e30e32fc715a68cb601378b1ecd787f", kill_on_drop: false }` [INFO] [stdout] 0c7212080912187e7f650089672c128b3e30e32fc715a68cb601378b1ecd787f