[INFO] updating cached repository https://github.com/abingham/spor-python [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 31004a42833c259f7a3bddeab9007549d923bfed [INFO] checking abingham/spor-python against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabingham%2Fspor-python" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abingham/spor-python on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/abingham/spor-python [INFO] removed path dependency spor from git repo https://github.com/abingham/spor-python [INFO] finished tweaking git repo https://github.com/abingham/spor-python [INFO] tweaked toml for git repo https://github.com/abingham/spor-python written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/abingham/spor-python already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (spor) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (spor) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 06726a8f853ac1a12e901c68928842c45d3dc9b73c11c9c7a75ec3d8be91dfbf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "06726a8f853ac1a12e901c68928842c45d3dc9b73c11c9c7a75ec3d8be91dfbf"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (spor) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking exit-code v1.0.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [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 num-complex v0.2.4 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking kv-log-macro v1.0.5 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking ndarray v0.12.1 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Compiling pyo3-derive-backend v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling indoc-impl v0.3.5 [INFO] [stderr] Compiling ctor v0.1.14 [INFO] [stderr] Compiling paste-impl v0.1.12 [INFO] [stderr] Compiling ghost v0.1.1 [INFO] [stderr] Compiling inventory-impl v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Checking indoc v0.3.5 [INFO] [stderr] Checking paste v0.1.12 [INFO] [stderr] Checking inventory v0.1.6 [INFO] [stderr] Compiling pyo3cls v0.9.2 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking serde_yaml v0.8.12 [INFO] [stderr] Checking spor v0.2.0 [INFO] [stderr] Compiling pyo3 v0.9.2 [INFO] [stderr] Checking spor-python v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: unresolved import [INFO] [stderr] --> src/repository.rs:158:26 [INFO] [stderr] | [INFO] [stderr] 158 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | unresolved import [INFO] [stderr] | help: a similar path exists: `spor::repository::fs_repository` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RepositoryIterator` in module `spor::repository::fs_repository` [INFO] [stderr] --> src/repository.rs:96:44 [INFO] [stderr] | [INFO] [stderr] 96 | iter: spor::repository::fs_repository::RepositoryIterator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `spor::repository::fs_repository` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RepositoryIterator` in module `spor::repository::fs_repository` [INFO] [stderr] --> src/repository.rs:121:44 [INFO] [stderr] | [INFO] [stderr] 121 | iter: spor::repository::fs_repository::RepositoryIterator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `spor::repository::fs_repository` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: unresolved import [INFO] [stderr] --> src/repository.rs:158:26 [INFO] [stderr] | [INFO] [stderr] 158 | m.add_class::()?; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | unresolved import [INFO] [stderr] | help: a similar path exists: `spor::repository::fs_repository` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RepositoryIterator` in module `spor::repository::fs_repository` [INFO] [stderr] --> src/repository.rs:96:44 [INFO] [stderr] | [INFO] [stderr] 96 | iter: spor::repository::fs_repository::RepositoryIterator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `spor::repository::fs_repository` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RepositoryIterator` in module `spor::repository::fs_repository` [INFO] [stderr] --> src/repository.rs:121:44 [INFO] [stderr] | [INFO] [stderr] 121 | iter: spor::repository::fs_repository::RepositoryIterator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `spor::repository::fs_repository` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `spor::anchor::Context` in the current scope [INFO] [stderr] --> src/anchor.rs:80:61 [INFO] [stderr] | [INFO] [stderr] 80 | spor::anchor::Anchor::new(file_path, context.handle.clone(), metadata, encoding) [INFO] [stderr] | ^^^^^ method not found in `spor::anchor::Context` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `spor::anchor::Context` in the current scope [INFO] [stderr] --> src/anchor.rs:80:61 [INFO] [stderr] | [INFO] [stderr] 80 | spor::anchor::Anchor::new(file_path, context.handle.clone(), metadata, encoding) [INFO] [stderr] | ^^^^^ method not found in `spor::anchor::Context` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/anchor.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | handle: self.handle.context().clone(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `spor::anchor::Context`, found `&spor::anchor::Context` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `spor::anchor::Anchor` in the current scope [INFO] [stderr] --> src/repository.rs:45:52 [INFO] [stderr] | [INFO] [stderr] 45 | let future = self.handle.add(anchor.handle.clone()); [INFO] [stderr] | ^^^^^ method not found in `spor::anchor::Anchor` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/repository.rs:112:20 [INFO] [stderr] | [INFO] [stderr] 112 | .map(|(id, _anchor)| PyString::new(py, &id).to_object(py)); [INFO] [stderr] | ^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/repository.rs:134:44 [INFO] [stderr] | [INFO] [stderr] 134 | let result = slf.iter.next().map(|(id, anchor)| { [INFO] [stderr] | ^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0412, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `spor-python`. [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] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/anchor.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | handle: self.handle.context().clone(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `spor::anchor::Context`, found `&spor::anchor::Context` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `spor::anchor::Anchor` in the current scope [INFO] [stderr] --> src/repository.rs:45:52 [INFO] [stderr] | [INFO] [stderr] 45 | let future = self.handle.add(anchor.handle.clone()); [INFO] [stderr] | ^^^^^ method not found in `spor::anchor::Anchor` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/repository.rs:112:20 [INFO] [stderr] | [INFO] [stderr] 112 | .map(|(id, _anchor)| PyString::new(py, &id).to_object(py)); [INFO] [stderr] | ^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/repository.rs:134:44 [INFO] [stderr] | [INFO] [stderr] 134 | let result = slf.iter.next().map(|(id, anchor)| { [INFO] [stderr] | ^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0412, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `spor-python`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "06726a8f853ac1a12e901c68928842c45d3dc9b73c11c9c7a75ec3d8be91dfbf"` [INFO] running `"docker" "rm" "-f" "06726a8f853ac1a12e901c68928842c45d3dc9b73c11c9c7a75ec3d8be91dfbf"` [INFO] [stdout] 06726a8f853ac1a12e901c68928842c45d3dc9b73c11c9c7a75ec3d8be91dfbf