[INFO] fetching crate pbni-codegen 0.1.0... [INFO] testing pbni-codegen-0.1.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate pbni-codegen 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate pbni-codegen 0.1.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 770393ea69b4b2866c9730f9acc1a33a108ed79dbdc15549467e2c3abc498d37 [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" "770393ea69b4b2866c9730f9acc1a33a108ed79dbdc15549467e2c3abc498d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "770393ea69b4b2866c9730f9acc1a33a108ed79dbdc15549467e2c3abc498d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770393ea69b4b2866c9730f9acc1a33a108ed79dbdc15549467e2c3abc498d37", kill_on_drop: false }` [INFO] [stdout] 770393ea69b4b2866c9730f9acc1a33a108ed79dbdc15549467e2c3abc498d37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ceb899b9cd59edb4d1f3cd6e9a8156a73b73b5a4673ec03529213bccf631529 [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" "1ceb899b9cd59edb4d1f3cd6e9a8156a73b73b5a4673ec03529213bccf631529", kill_on_drop: false }` [INFO] [stderr] Compiling pbni-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.31s [INFO] running `Command { std: "docker" "inspect" "1ceb899b9cd59edb4d1f3cd6e9a8156a73b73b5a4673ec03529213bccf631529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ceb899b9cd59edb4d1f3cd6e9a8156a73b73b5a4673ec03529213bccf631529", kill_on_drop: false }` [INFO] [stdout] 1ceb899b9cd59edb4d1f3cd6e9a8156a73b73b5a4673ec03529213bccf631529 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87a78bc5f8c638bf26f57f91452dd0cffa5226fed90752cd813dd74bacf4429a [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" "87a78bc5f8c638bf26f57f91452dd0cffa5226fed90752cd813dd74bacf4429a", kill_on_drop: false }` [INFO] [stderr] Compiling pbni-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "87a78bc5f8c638bf26f57f91452dd0cffa5226fed90752cd813dd74bacf4429a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a78bc5f8c638bf26f57f91452dd0cffa5226fed90752cd813dd74bacf4429a", kill_on_drop: false }` [INFO] [stdout] 87a78bc5f8c638bf26f57f91452dd0cffa5226fed90752cd813dd74bacf4429a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", 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] 68f17e31e20910293deff6ea4a4d42e0b3f40194e4d06720a840e332dd3627fb [INFO] running `Command { std: "docker" "start" "-a" "68f17e31e20910293deff6ea4a4d42e0b3f40194e4d06720a840e332dd3627fb", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pbni_codegen-5d6bc117b4c5739a) [INFO] [stdout] [INFO] [stderr] Doc-tests pbni-codegen [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - constructor (line 199) - compile ... FAILED [INFO] [stdout] test src/lib.rs - visualobject (line 165) - compile ... FAILED [INFO] [stdout] test src/lib.rs - method (line 221) - compile ... FAILED [INFO] [stdout] test src/lib.rs - nonvisualobject (line 99) - compile ... FAILED [INFO] [stdout] test src/lib.rs - event (line 243) - compile ... FAILED [INFO] [stdout] test src/lib.rs - global_function (line 16) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::constructor [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 - 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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::visualobject [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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::constructor [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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::method [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] ---- 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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::method [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 - 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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::nonvisualobject [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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::constructor [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `method` in this scope [INFO] [stdout] --> src/lib.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[method(name="of_Foo")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::method [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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::nonvisualobject [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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::constructor [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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::method [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 - 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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::nonvisualobject [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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::constructor [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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::event [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 - 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] = note: consider importing this attribute macro: [INFO] [stdout] pbni_codegen::global_function [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] [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.75s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "68f17e31e20910293deff6ea4a4d42e0b3f40194e4d06720a840e332dd3627fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f17e31e20910293deff6ea4a4d42e0b3f40194e4d06720a840e332dd3627fb", kill_on_drop: false }` [INFO] [stdout] 68f17e31e20910293deff6ea4a4d42e0b3f40194e4d06720a840e332dd3627fb