[INFO] crate json-ld 0.2.0-alpha is already in cache [INFO] testing json-ld-0.2.0-alpha against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate json-ld 0.2.0-alpha into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate json-ld 0.2.0-alpha on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7e634913b8f57ace30ecf8c73444545c96c9ce7a5106ab478f8657333b73887 [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" "d7e634913b8f57ace30ecf8c73444545c96c9ce7a5106ab478f8657333b73887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7e634913b8f57ace30ecf8c73444545c96c9ce7a5106ab478f8657333b73887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e634913b8f57ace30ecf8c73444545c96c9ce7a5106ab478f8657333b73887", kill_on_drop: false }` [INFO] [stdout] d7e634913b8f57ace30ecf8c73444545c96c9ce7a5106ab478f8657333b73887 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b9f7bd7685f0e7ef09f352f351efff193fc3c34f77a57092a45a3b2db2412b5 [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" "3b9f7bd7685f0e7ef09f352f351efff193fc3c34f77a57092a45a3b2db2412b5", kill_on_drop: false }` [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 memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling smallvec v1.2.0 [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 proc-macro2 v1.0.9 [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 27.63s [INFO] running `Command { std: "docker" "inspect" "3b9f7bd7685f0e7ef09f352f351efff193fc3c34f77a57092a45a3b2db2412b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b9f7bd7685f0e7ef09f352f351efff193fc3c34f77a57092a45a3b2db2412b5", kill_on_drop: false }` [INFO] [stdout] 3b9f7bd7685f0e7ef09f352f351efff193fc3c34f77a57092a45a3b2db2412b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cd10ea644d336f85813511db3f85e1875c688becc93fe981db53a24f0d0f919 [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" "7cd10ea644d336f85813511db3f85e1875c688becc93fe981db53a24f0d0f919", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [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 bytes v0.5.4 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling static-iref v1.0.0 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling iref-enum v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [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 mio v0.6.21 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling chrono v0.4.11 [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 30.58s [INFO] running `Command { std: "docker" "inspect" "7cd10ea644d336f85813511db3f85e1875c688becc93fe981db53a24f0d0f919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd10ea644d336f85813511db3f85e1875c688becc93fe981db53a24f0d0f919", kill_on_drop: false }` [INFO] [stdout] 7cd10ea644d336f85813511db3f85e1875c688becc93fe981db53a24f0d0f919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 924ba74565f0d08bb88afaca23e762677595830ce510664bbc112960e0b521b2 [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" "924ba74565f0d08bb88afaca23e762677595830ce510664bbc112960e0b521b2", 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.25s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/json_ld-ce05e4cab5e56042 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/id.rs - id::Id (line 26) ... FAILED [INFO] [stdout] test src/vocab.rs - vocab::Lexicon (line 84) ... FAILED [INFO] [stdout] test src/document.rs - document::Document::expand (line 67) ... FAILED [INFO] [stdout] test src/document.rs - document::RemoteDocument (line 126) ... FAILED [INFO] [stdout] test src/reference.rs - reference::ToReference (line 135) ... FAILED [INFO] [stdout] test src/object/node.rs - object::node::Node::has_key (line 89) ... FAILED [INFO] [stdout] test src/reference.rs - reference::ToReference (line 127) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/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 type 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] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/document.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | use std_async::task; [INFO] [stdout] 5 | | use json_ld::{Document, JsonContext, NoLoader}; [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 10 | | let doc = json::parse("{ [INFO] [stdout] | |___________^ [INFO] [stdout] 11 | || \"@context\": { [INFO] [stdout] 12 | || \"name\": \"http://xmlns.com/foaf/0.1/name\", [INFO] [stdout] 13 | || \"knows\": \"http://xmlns.com/foaf/0.1/knows\" [INFO] [stdout] ... || [INFO] [stdout] 21 | || ] [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 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [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 `std::ops::Try`) [INFO] [stdout] --> src/document.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [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 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [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] ---- 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 type 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/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/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 or module `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 or module `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 or module `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/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] [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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "924ba74565f0d08bb88afaca23e762677595830ce510664bbc112960e0b521b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "924ba74565f0d08bb88afaca23e762677595830ce510664bbc112960e0b521b2", kill_on_drop: false }` [INFO] [stdout] 924ba74565f0d08bb88afaca23e762677595830ce510664bbc112960e0b521b2