[INFO] fetching crate json-ld 0.2.0-alpha... [INFO] testing json-ld-0.2.0-alpha against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate json-ld 0.2.0-alpha into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate json-ld 0.2.0-alpha on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate json-ld 0.2.0-alpha [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate json-ld 0.2.0-alpha [INFO] tweaked toml for crates.io crate json-ld 0.2.0-alpha written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate json-ld 0.2.0-alpha already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v1.5.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.9 [INFO] [stderr] Downloaded proc-macro-hack v0.5.12 [INFO] [stderr] Downloaded stderrlog v0.4.3 [INFO] [stderr] Downloaded mown v0.2.0 [INFO] [stderr] Downloaded pct-str v1.0.2 [INFO] [stderr] Downloaded iref v1.1.5 [INFO] [stderr] Downloaded iref-enum v1.0.0 [INFO] [stderr] Downloaded hyper v0.13.3 [INFO] [stderr] Downloaded h2 v0.2.2 [INFO] [stderr] Downloaded json v0.12.3 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06f71c2b3bb5160f78f6f63c03fa2f1760db4ecd0f3e6daf9a2f5e39b757bd51 [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" "06f71c2b3bb5160f78f6f63c03fa2f1760db4ecd0f3e6daf9a2f5e39b757bd51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06f71c2b3bb5160f78f6f63c03fa2f1760db4ecd0f3e6daf9a2f5e39b757bd51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f71c2b3bb5160f78f6f63c03fa2f1760db4ecd0f3e6daf9a2f5e39b757bd51", kill_on_drop: false }` [INFO] [stdout] 06f71c2b3bb5160f78f6f63c03fa2f1760db4ecd0f3e6daf9a2f5e39b757bd51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f5d3f6c7724b1adfaf9f193973c3e9a2bb1f05578ee6ebbe089fe3c1ab55496 [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" "2f5d3f6c7724b1adfaf9f193973c3e9a2bb1f05578ee6ebbe089fe3c1ab55496", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pct-str v1.0.2 [INFO] [stderr] Compiling mown v0.2.0 [INFO] [stderr] Compiling json v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling iref v1.1.5 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.12 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling json-ld v0.2.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `str_strip` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(str_strip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.21s [INFO] running `Command { std: "docker" "inspect" "2f5d3f6c7724b1adfaf9f193973c3e9a2bb1f05578ee6ebbe089fe3c1ab55496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5d3f6c7724b1adfaf9f193973c3e9a2bb1f05578ee6ebbe089fe3c1ab55496", kill_on_drop: false }` [INFO] [stdout] 2f5d3f6c7724b1adfaf9f193973c3e9a2bb1f05578ee6ebbe089fe3c1ab55496 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 507a45e128a2c7149ed5e8e5ba46560241aadc8cc6788d13eff4900ce3a626d3 [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" "507a45e128a2c7149ed5e8e5ba46560241aadc8cc6788d13eff4900ce3a626d3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling static-iref v1.0.0 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling iref-enum v1.0.0 [INFO] [stdout] warning: the feature `str_strip` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(str_strip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling stderrlog v0.4.3 [INFO] [stderr] Compiling json-ld v0.2.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `str_strip` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(str_strip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.37s [INFO] running `Command { std: "docker" "inspect" "507a45e128a2c7149ed5e8e5ba46560241aadc8cc6788d13eff4900ce3a626d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507a45e128a2c7149ed5e8e5ba46560241aadc8cc6788d13eff4900ce3a626d3", kill_on_drop: false }` [INFO] [stdout] 507a45e128a2c7149ed5e8e5ba46560241aadc8cc6788d13eff4900ce3a626d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e7a523529a6f29f0a8888ba8074cb7fdb851f66b831984cfef2974dd312d624 [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" "0e7a523529a6f29f0a8888ba8074cb7fdb851f66b831984cfef2974dd312d624", kill_on_drop: false }` [INFO] [stderr] warning: the feature `str_strip` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(str_strip)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: the feature `str_strip` has been stable since 1.45.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(str_strip)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/json_ld-d49501707b662f0b) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests json-ld [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/object/node.rs - object::node::Node::has_key (line 89) ... FAILED [INFO] [stdout] test src/vocab.rs - vocab::Lexicon (line 84) ... FAILED [INFO] [stdout] test src/reference.rs - reference::ToReference (line 127) ... FAILED [INFO] [stdout] test src/id.rs - id::Id (line 26) ... FAILED [INFO] [stdout] test src/reference.rs - reference::ToReference (line 135) ... FAILED [INFO] [stdout] test src/document.rs - document::RemoteDocument (line 126) ... FAILED [INFO] [stdout] test src/document.rs - document::Document::expand (line 67) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/object/node.rs - object::node::Node::has_key (line 89) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/object/node.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 5 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 5 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 5 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/object/node.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 5 | ... [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keyword` [INFO] [stdout] --> src/object/node.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 4 | if node.has_key(Term::Keyword(Keyword::Id)) { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Keyword` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `node` in this scope [INFO] [stdout] --> src/object/node.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 4 | if node.has_key(Term::Keyword(Keyword::Id)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> src/object/node.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 4 | if node.has_key(Term::Keyword(Keyword::Id)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use json_ld::syntax::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vocab.rs - vocab::Lexicon (line 84) stdout ---- [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/vocab.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate iref_enum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0468`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reference.rs - reference::ToReference (line 127) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/reference.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn get(&self, id: &Reference) -> Objects; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/reference.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn get(&self, id: &Reference) -> Objects; [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[E0412]: cannot find type `Reference` in this scope [INFO] [stdout] --> src/reference.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 3 | fn get(&self, id: &Reference) -> Objects; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use json_ld::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/reference.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 3 | fn get(&self, id: &Reference) -> Objects; [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Objects` in this scope [INFO] [stdout] --> src/reference.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 3 | fn get(&self, id: &Reference) -> Objects; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use json_ld::object::node::Objects; [INFO] [stdout] | [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/id.rs - id::Id (line 26) stdout ---- [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/id.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate iref_enum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0468`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reference.rs - reference::ToReference (line 135) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/reference.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn get>(&self, id: R) -> Objects; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/reference.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn get>(&self, id: R) -> Objects; [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[E0405]: cannot find trait `ToReference` in this scope [INFO] [stdout] --> src/reference.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 3 | fn get>(&self, id: R) -> Objects; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use json_ld::ToReference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/reference.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 3 | fn get>(&self, id: R) -> Objects; [INFO] [stdout] | - ^ help: a type parameter with a similar name exists: `R` [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `R` defined here [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Objects` in this scope [INFO] [stdout] --> src/reference.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 3 | fn get>(&self, id: R) -> Objects; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use json_ld::object::node::Objects; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/document.rs - document::RemoteDocument (line 126) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `the` [INFO] [stdout] --> src/document.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 10 | Prepare the loader. [INFO] [stdout] | ^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/document.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate static_iref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std_async` [INFO] [stdout] --> src/document.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std_async::task; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `std_async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0468. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/document.rs - document::Document::expand (line 67) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `std_async` [INFO] [stdout] --> src/document.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std_async::task; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `std_async` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/document.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 8 | let context = JsonContext::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/context/mod.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn new(base_iri: Option) -> JsonContext { [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/document.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_document_rs_67_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use std_async::task; [INFO] [stdout] 5 | | use json_ld::{Document, JsonContext, NoLoader}; [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 22 | | }")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 23 | | let expanded_doc = task::block_on(doc.expand(&context, &mut NoLoader))?; [INFO] [stdout] 24 | | } _doctest_main_src_document_rs_67_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/document.rs:87:71 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_document_rs_67_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use std_async::task; [INFO] [stdout] 5 | | use json_ld::{Document, JsonContext, NoLoader}; [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 23 | | let expanded_doc = task::block_on(doc.expand(&context, &mut NoLoader))?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 24 | | } _doctest_main_src_document_rs_67_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: E0061, E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/document.rs - document::Document::expand (line 67) [INFO] [stdout] src/document.rs - document::RemoteDocument (line 126) [INFO] [stdout] src/id.rs - id::Id (line 26) [INFO] [stdout] src/object/node.rs - object::node::Node::has_key (line 89) [INFO] [stdout] src/reference.rs - reference::ToReference (line 127) [INFO] [stdout] src/reference.rs - reference::ToReference (line 135) [INFO] [stdout] src/vocab.rs - vocab::Lexicon (line 84) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0e7a523529a6f29f0a8888ba8074cb7fdb851f66b831984cfef2974dd312d624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7a523529a6f29f0a8888ba8074cb7fdb851f66b831984cfef2974dd312d624", kill_on_drop: false }` [INFO] [stdout] 0e7a523529a6f29f0a8888ba8074cb7fdb851f66b831984cfef2974dd312d624