[INFO] fetching crate rdftk_memgraph 0.1.4... [INFO] checking rdftk_memgraph-0.1.4 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate rdftk_memgraph 0.1.4 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rdftk_memgraph 0.1.4 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rdftk_memgraph 0.1.4 [INFO] finished tweaking crates.io crate rdftk_memgraph 0.1.4 [INFO] tweaked toml for crates.io crate rdftk_memgraph 0.1.4 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0e94b77cfaf42c633d8e4948eae3c5bf46def1c58178846714d0727970400bc [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" "b0e94b77cfaf42c633d8e4948eae3c5bf46def1c58178846714d0727970400bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0e94b77cfaf42c633d8e4948eae3c5bf46def1c58178846714d0727970400bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0e94b77cfaf42c633d8e4948eae3c5bf46def1c58178846714d0727970400bc", kill_on_drop: false }` [INFO] [stdout] b0e94b77cfaf42c633d8e4948eae3c5bf46def1c58178846714d0727970400bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8e82b5d4e01a87f6fd93ae444e094ab55c069e89fea55d4f449d2af7576d78e [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" "e8e82b5d4e01a87f6fd93ae444e094ab55c069e89fea55d4f449d2af7576d78e", kill_on_drop: false }` [INFO] [stderr] Checking atomic_refcell v0.1.6 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking blob-uuid v0.4.0 [INFO] [stderr] Checking unique_id v0.1.3 [INFO] [stderr] Checking rdftk_iri v0.1.4 [INFO] [stderr] Checking rdftk_names v0.1.6 [INFO] [stderr] Checking rdftk_core v0.1.7 [INFO] [stderr] Checking rdftk_memgraph v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `insert` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / fn insert(&mut self, statement: Statement) { [INFO] [stdout] 145 | | self.statements.push(Rc::new(statement)); [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `merge` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / fn merge(&mut self, other: Rc) { [INFO] [stdout] 149 | | for st in other.statements() { [INFO] [stdout] 150 | | self.statements.push(st) [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `de_duplicate` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / fn de_duplicate(&mut self) { [INFO] [stdout] 155 | | let mut sts: HashSet> = self.statements.drain(..).collect(); [INFO] [stdout] 156 | | self.statements = sts.drain().collect() [INFO] [stdout] 157 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `remove` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / fn remove(&mut self, statement: &Statement) { [INFO] [stdout] 160 | | self.statements.retain(|st| st.as_ref() != statement); [INFO] [stdout] 161 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `remove_all_for` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / fn remove_all_for(&mut self, subject: &SubjectNode) { [INFO] [stdout] 164 | | self.statements.retain(|st| st.subject() != subject); [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `clear` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / fn clear(&mut self) { [INFO] [stdout] 168 | | self.statements.clear() [INFO] [stdout] 169 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `set_name` is not a member of trait `NamedGraph` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / fn set_name(&mut self, name: IRIRef) -> Option { [INFO] [stdout] 182 | | let old = self.name.clone(); [INFO] [stdout] 183 | | self.name = Some(name); [INFO] [stdout] 184 | | old [INFO] [stdout] 185 | | } [INFO] [stdout] | |_____^ not a member of trait `NamedGraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `unset_name` is not a member of trait `NamedGraph` [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / fn unset_name(&mut self) -> Option { [INFO] [stdout] 188 | | let old = self.name.clone(); [INFO] [stdout] 189 | | self.name = None; [INFO] [stdout] 190 | | old [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ not a member of trait `NamedGraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `insert` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / fn insert(&mut self, statement: Statement) { [INFO] [stdout] 145 | | self.statements.push(Rc::new(statement)); [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `merge` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / fn merge(&mut self, other: Rc) { [INFO] [stdout] 149 | | for st in other.statements() { [INFO] [stdout] 150 | | self.statements.push(st) [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `de_duplicate` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / fn de_duplicate(&mut self) { [INFO] [stdout] 155 | | let mut sts: HashSet> = self.statements.drain(..).collect(); [INFO] [stdout] 156 | | self.statements = sts.drain().collect() [INFO] [stdout] 157 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `remove` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / fn remove(&mut self, statement: &Statement) { [INFO] [stdout] 160 | | self.statements.retain(|st| st.as_ref() != statement); [INFO] [stdout] 161 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `remove_all_for` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / fn remove_all_for(&mut self, subject: &SubjectNode) { [INFO] [stdout] 164 | | self.statements.retain(|st| st.subject() != subject); [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `clear` is not a member of trait `Graph` [INFO] [stdout] --> src/lib.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / fn clear(&mut self) { [INFO] [stdout] 168 | | self.statements.clear() [INFO] [stdout] 169 | | } [INFO] [stdout] | |_____^ not a member of trait `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `set_name` is not a member of trait `NamedGraph` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / fn set_name(&mut self, name: IRIRef) -> Option { [INFO] [stdout] 182 | | let old = self.name.clone(); [INFO] [stdout] 183 | | self.name = Some(name); [INFO] [stdout] 184 | | old [INFO] [stdout] 185 | | } [INFO] [stdout] | |_____^ not a member of trait `NamedGraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `unset_name` is not a member of trait `NamedGraph` [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / fn unset_name(&mut self) -> Option { [INFO] [stdout] 188 | | let old = self.name.clone(); [INFO] [stdout] 189 | | self.name = None; [INFO] [stdout] 190 | | old [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ not a member of trait `NamedGraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `expand` has an incompatible type for trait [INFO] [stdout] --> src/mapping.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | fn expand(&self, qname: QName) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&rdftk_core::QName`, found struct `rdftk_core::QName` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mapping::Mappings, &rdftk_core::QName) -> Option<_>` [INFO] [stdout] found fn pointer `fn(&mapping::Mappings, rdftk_core::QName) -> Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `compress` has an incompatible type for trait [INFO] [stdout] --> src/mapping.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | fn compress(&self, iri: IRIRef) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected reference, found struct `Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mapping::Mappings, &Arc) -> Option<_>` [INFO] [stdout] found fn pointer `fn(&mapping::Mappings, Arc) -> Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mapping.rs:196:29 [INFO] [stdout] | [INFO] [stdout] 196 | mappings.expand(QName::with_prefix("rdf", "Bag")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&rdftk_core::QName`, found struct `rdftk_core::QName` [INFO] [stdout] | help: consider borrowing here: `&QName::with_prefix("rdf", "Bag")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mapping.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | mappings.expand(QName::new("knows")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&rdftk_core::QName`, found struct `rdftk_core::QName` [INFO] [stdout] | help: consider borrowing here: `&QName::new("knows")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mapping.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | mappings.expand(QName::with_prefix("foo", "Bar")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&rdftk_core::QName`, found struct `rdftk_core::QName` [INFO] [stdout] | help: consider borrowing here: `&QName::with_prefix("foo", "Bar")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mapping.rs:214:36 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(mappings.expand(QName::with_prefix("rdfx", "Bag")), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&rdftk_core::QName`, found struct `rdftk_core::QName` [INFO] [stdout] | help: consider borrowing here: `&QName::with_prefix("rdfx", "Bag")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mapping.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | mappings.compress(IRIRef::from( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 223 | | IRI::from_str("http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag").unwrap() [INFO] [stdout] 224 | | )), [INFO] [stdout] | |_____________^ expected reference, found struct `Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Arc` [INFO] [stdout] found struct `Arc` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 222 | mappings.compress(&IRIRef::from( [INFO] [stdout] 223 | IRI::from_str("http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag").unwrap() [INFO] [stdout] 224 | )), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mapping.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | mappings.compress(IRIRef::from( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 229 | | IRI::from_str("http://xmlns.com/foaf/0.1/knows").unwrap() [INFO] [stdout] 230 | | )), [INFO] [stdout] | |_____________^ expected reference, found struct `Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Arc` [INFO] [stdout] found struct `Arc` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 228 | mappings.compress(&IRIRef::from( [INFO] [stdout] 229 | IRI::from_str("http://xmlns.com/foaf/0.1/knows").unwrap() [INFO] [stdout] 230 | )), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mapping.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | mappings.compress(IRIRef::from( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 235 | | IRI::from_str("http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing").unwrap() [INFO] [stdout] 236 | | )), [INFO] [stdout] | |_____________^ expected reference, found struct `Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Arc` [INFO] [stdout] found struct `Arc` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 234 | mappings.compress(&IRIRef::from( [INFO] [stdout] 235 | IRI::from_str("http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing").unwrap() [INFO] [stdout] 236 | )), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rdftk_memgraph` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0053]: method `expand` has an incompatible type for trait [INFO] [stdout] --> src/mapping.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | fn expand(&self, qname: QName) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&rdftk_core::QName`, found struct `rdftk_core::QName` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mapping::Mappings, &rdftk_core::QName) -> Option<_>` [INFO] [stdout] found fn pointer `fn(&mapping::Mappings, rdftk_core::QName) -> Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `compress` has an incompatible type for trait [INFO] [stdout] --> src/mapping.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | fn compress(&self, iri: IRIRef) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected reference, found struct `Arc` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mapping::Mappings, &Arc) -> Option<_>` [INFO] [stdout] found fn pointer `fn(&mapping::Mappings, Arc) -> Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e8e82b5d4e01a87f6fd93ae444e094ab55c069e89fea55d4f449d2af7576d78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e82b5d4e01a87f6fd93ae444e094ab55c069e89fea55d4f449d2af7576d78e", kill_on_drop: false }` [INFO] [stdout] e8e82b5d4e01a87f6fd93ae444e094ab55c069e89fea55d4f449d2af7576d78e