[INFO] updating cached repository https://github.com/shtirlic/amqp-tester [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bd59bcf4e9ece285fdcbf39484f04eff2c7c17c [INFO] testing shtirlic/amqp-tester against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshtirlic%2Famqp-tester" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shtirlic/amqp-tester 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 git repo https://github.com/shtirlic/amqp-tester [INFO] finished tweaking git repo https://github.com/shtirlic/amqp-tester [INFO] tweaked toml for git repo https://github.com/shtirlic/amqp-tester written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/shtirlic/amqp-tester 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] [stderr] error: the lock file /workspace/builds/worker-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba19ca369cfdeac4275f740b6525137f94e7f14d8fd0a5babf7c316eb35e7a47 [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" "ba19ca369cfdeac4275f740b6525137f94e7f14d8fd0a5babf7c316eb35e7a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba19ca369cfdeac4275f740b6525137f94e7f14d8fd0a5babf7c316eb35e7a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba19ca369cfdeac4275f740b6525137f94e7f14d8fd0a5babf7c316eb35e7a47", kill_on_drop: false }` [INFO] [stdout] ba19ca369cfdeac4275f740b6525137f94e7f14d8fd0a5babf7c316eb35e7a47 [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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5da542b3f68f0941793dcb57ce84a8aaff5ce7f7fefa5c99bb6e36b767df0158 [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" "5da542b3f68f0941793dcb57ce84a8aaff5ce7f7fefa5c99bb6e36b767df0158", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling amq-proto v0.1.0 [INFO] [stderr] Compiling amqp v0.1.3 [INFO] [stderr] Compiling amqp-tester v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `amqp::ConsumerCallBackFn` [INFO] [stdout] --> src/main.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use amqp::{Session, Table, Basic, protocol, Channel, ConsumerCallBackFn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `ConsumerCallBackFn` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/main.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | env_logger::init().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:55:102 [INFO] [stdout] | [INFO] [stdout] 55 | ...on as ConsumerCallBackFn, &queue_name, "", false, false, false, false, Table::new()); [INFO] [stdout] | ^^ expected struct `std::string::String`, found `str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `amqp-tester`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5da542b3f68f0941793dcb57ce84a8aaff5ce7f7fefa5c99bb6e36b767df0158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5da542b3f68f0941793dcb57ce84a8aaff5ce7f7fefa5c99bb6e36b767df0158", kill_on_drop: false }` [INFO] [stdout] 5da542b3f68f0941793dcb57ce84a8aaff5ce7f7fefa5c99bb6e36b767df0158