[INFO] cloning repository https://github.com/rem-code-s/canister_file_manager_backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rem-code-s/canister_file_manager_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frem-code-s%2Fcanister_file_manager_backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frem-code-s%2Fcanister_file_manager_backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fbf14c2b1689414a3d8db78d2896012fb169f6d [INFO] testing rem-code-s/canister_file_manager_backend against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frem-code-s%2Fcanister_file_manager_backend" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rem-code-s/canister_file_manager_backend [INFO] finished tweaking git repo https://github.com/rem-code-s/canister_file_manager_backend [INFO] tweaked toml for git repo https://github.com/rem-code-s/canister_file_manager_backend written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rem-code-s/canister_file_manager_backend on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rem-code-s/canister_file_manager_backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/src/file_manager/Cargo.toml: file `/workspace/builds/worker-1-tc1/source/src/file_manager/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `file_manager` [INFO] [stderr] * `integration-test` target `generate` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded io-lifetimes v1.0.9 [INFO] [stderr] Downloaded proc-macro2 v1.0.54 [INFO] [stderr] Downloaded syn v2.0.12 [INFO] [stderr] Downloaded serde_json v1.0.95 [INFO] [stderr] Downloaded rustix v0.37.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6775a7f29224414f59034c995b9f7dfcfaa38592891207337b64d917f129979d [INFO] running `Command { std: "docker" "start" "-a" "6775a7f29224414f59034c995b9f7dfcfaa38592891207337b64d917f129979d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6775a7f29224414f59034c995b9f7dfcfaa38592891207337b64d917f129979d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6775a7f29224414f59034c995b9f7dfcfaa38592891207337b64d917f129979d", kill_on_drop: false }` [INFO] [stdout] 6775a7f29224414f59034c995b9f7dfcfaa38592891207337b64d917f129979d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f127e5bfa197088b665f06c4d981ec18d8c89c9a17b1ee5cc28fdf5ecd7c821d [INFO] running `Command { std: "docker" "start" "-a" "f127e5bfa197088b665f06c4d981ec18d8c89c9a17b1ee5cc28fdf5ecd7c821d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/src/file_manager/Cargo.toml: file `/opt/rustwide/workdir/src/file_manager/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `file_manager` [INFO] [stderr] * `integration-test` target `generate` [INFO] [stderr] Compiling proc-macro2 v1.0.54 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling serde_derive v1.0.159 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rustix v0.37.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling serde v1.0.159 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.3.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling toml_edit v0.19.8 [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling data-encoding v2.3.3 [INFO] [stderr] Compiling syn v2.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Compiling ic0 v0.18.9 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling lalrpop-util v0.19.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling is-terminal v0.4.6 [INFO] [stderr] Compiling lalrpop v0.19.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling serde_bytes v0.11.9 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling ic-cdk v0.6.10 [INFO] [stderr] Compiling file_manager v0.1.0 (/opt/rustwide/workdir/src/file_manager) [INFO] [stdout] warning: unused import: `call` [INFO] [stdout] --> src/file_manager/src/logic/directory_methods.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | api::{call, time}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/file_manager/src/methods.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | fn change_asset_owner(owner: Principal, asset: AssetWithId) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset` [INFO] [stdout] --> src/file_manager/src/methods.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 83 | fn change_asset_owner(owner: Principal, asset: AssetWithId) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcxB1lRk/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcxB1lRk/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libserde_json-7f0bbfae2d6fa6bc,libryu-1160b1990b346c23,libitoa-2a4812417cf7d568,libchrono-b3c43f680741eed1,libiana_time_zone-d8dca7ee61c3d61b,libtime-a409d1c937e8f81b,liblibc-cf91dca5971e52e5,libic_cdk-389f564bc5e8cbab,libic0-d2847d65979f68fc,libcandid-6b9dba726527f919,libcrc32fast-b517e1e1bff57ec0,libdata_encoding-f3d75a5419625674,libserde_bytes-6671351b39a30f4e,libhex-ca926d8cc80c7033,libleb128-d430320fe2c51fea,libbyteorder-c603fb49e2ea8ab6,liblogos-0891fc804c51774f,libsha2-41b8f258a1a470f4,libcpufeatures-8d3fed7457a5d7cb,libcfg_if-3183e62f61f23a61,libdigest-6ad34d491f653067,libblock_buffer-a29d9ba1aca3a9d9,libcrypto_common-4d3f40c271d43b71,libgeneric_array-8d114a65ab2229a1,libtypenum-832c7406d65d19a6,libnum_bigint-b22660cfcba5dea3,libnum_integer-983d9ea43abe59d3,libnum_traits-4f2a4c8e2725c12f,libanyhow-d7a4e4055ed19b3d,libnum_enum-51bf59efc823d745,libbinread-bb6d4bf5508a8cd8,liblazy_static-ab9a3dc8def9ba85,liblalrpop_util-290e73681bbe517d,libregex-e159ed052b98bda2,libaho_corasick-325f51f0b8eb7b1f,libmemchr-233a2862461d83c1,libregex_syntax-a2f918f6bbb309d6,libthiserror-b109608cff4a00fe,libcodespan_reporting-2a8978696077d2de,libunicode_width-14cea643d72c39b2,libtermcolor-fe93c78e887a6a84,libpretty-b18471a73002b6fb,libarrayvec-15451bb540225465,libtyped_arena-8b0608e5b78b4142,libserde-19f9963ead024ce6}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcxB1lRk/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libfile_manager.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /tmp/rustcxB1lRk/list:5: ; expected, but got get_assets_tree [INFO] [stdout] >>> canister_query get_assets_tree; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file_manager` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f127e5bfa197088b665f06c4d981ec18d8c89c9a17b1ee5cc28fdf5ecd7c821d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f127e5bfa197088b665f06c4d981ec18d8c89c9a17b1ee5cc28fdf5ecd7c821d", kill_on_drop: false }` [INFO] [stdout] f127e5bfa197088b665f06c4d981ec18d8c89c9a17b1ee5cc28fdf5ecd7c821d